File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- export const ADDON_ID = '@ storybook/core /docs' ;
1
+ export const ADDON_ID = 'storybook/docs' ;
2
2
export const PANEL_ID = `${ ADDON_ID } /panel` ;
3
3
export const PARAM_KEY = `docs` ;
4
4
Original file line number Diff line number Diff line change @@ -471,14 +471,14 @@ describe('layout API', () => {
471
471
} ) ;
472
472
473
473
it ( 'should set selectedPanel initially' , ( ) => {
474
- const panelName = '@ storybook/core /a11y/panel' ;
474
+ const panelName = 'storybook/a11y/panel' ;
475
475
layoutApi . setOptions ( { selectedPanel : panelName } ) ;
476
476
477
477
expect ( getLastSetStateArgs ( ) [ 0 ] . selectedPanel ) . toEqual ( panelName ) ;
478
478
} ) ;
479
479
480
480
it ( 'should change selectedPanel if it is defined in the options and is different' , ( ) => {
481
- const panelName = '@ storybook/core /a11y/panel' ;
481
+ const panelName = 'storybook/a11y/panel' ;
482
482
layoutApi . setOptions ( { } ) ;
483
483
layoutApi . setOptions ( { selectedPanel : panelName } ) ;
484
484
You can’t perform that action at this time.
0 commit comments