Skip to content

Commit

Permalink
Fix buggy test as per
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday authored and JungHoe committed Apr 26, 2023
1 parent ee0b656 commit 3c1256a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/lib/manager-api/src/tests/stories.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
SET_INDEX,
CURRENT_STORY_WAS_SET,
STORY_MISSING,
DOCS_PREPARED,
} from '@storybook/core-events';
import { EventEmitter } from 'events';
import { global } from '@storybook/global';
Expand Down Expand Up @@ -1457,7 +1458,7 @@ describe('stories API', () => {
Object.assign(fullAPI, api);

await init();
fullAPI.emit(STORY_PREPARED, {
fullAPI.emit(DOCS_PREPARED, {
id: 'component-a--docs',
parameters: { a: 'b' },
});
Expand Down

0 comments on commit 3c1256a

Please sign in to comment.