All files / app/src/entities/notification/ui/notifications-event-settings notifications-event-settings.stories.tsx

100% Statements 11/11
100% Branches 1/1
100% Functions 1/1
100% Lines 11/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 181x         1x 1x 1x 1x 1x 1x 1x   1x   1x 1x  
import { Story, Meta } from '@storybook/react'
import { NotificationsEventSettings, NotificationsEventSettingsProps } from './notifications-event-settings'
import { mock } from 'mockjs'
import { USER_ENTITY_MOCK } from '@/shared/config'
 
export default {
  title: 'Entities/Notification/NotificationsSettings',
  component: NotificationsEventSettings,
  args: {
    user: mock(USER_ENTITY_MOCK),
  },
} as Meta
 
const Template: Story<NotificationsEventSettingsProps> = args => <NotificationsEventSettings {...args} />
 
export const Default = Template.bind({})
Default.args = {}