File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1+ import type { Channel } from 'storybook/internal/channels' ;
12import { CHANNEL_CREATED , CHANNEL_WS_DISCONNECT } from 'storybook/internal/core-events' ;
23import { MemoryRouter } from 'storybook/internal/router' ;
34import type { Addon_Config , Addon_Types } from 'storybook/internal/types' ;
@@ -12,13 +13,12 @@ import { screen, within } from 'storybook/test';
1213import { color } from 'storybook/theming' ;
1314
1415import preview from '../../../.storybook/preview' ;
15- import type Channel from '../channels' ;
1616import { Main } from './index' ;
1717import Provider from './provider' ;
1818
1919const WS_DISCONNECTED_NOTIFICATION_ID = 'CORE/WS_DISCONNECTED' ;
2020
21- const channel = mockChannel ( ) ;
21+ const channel = mockChannel ( ) as unknown as Channel ;
2222
2323const originalGetItem = Storage . prototype . getItem ;
2424const originalSetItem = Storage . prototype . setItem ;
You can’t perform that action at this time.
0 commit comments