diff --git a/code/lib/preview-api/template/stories/decorators.stories.ts b/code/lib/preview-api/template/stories/decorators.stories.ts index 7104627ae2a2..f3ab678116fd 100644 --- a/code/lib/preview-api/template/stories/decorators.stories.ts +++ b/code/lib/preview-api/template/stories/decorators.stories.ts @@ -60,11 +60,5 @@ export const Hooks = { updatedArgs: { condition: false }, }); await new Promise((resolve) => channel.once(STORY_ARGS_UPDATED, resolve)); - - await channel.emit(UPDATE_STORY_ARGS, { - storyId: id, - updatedArgs: { condition: true }, - }); - await new Promise((resolve) => channel.once(STORY_ARGS_UPDATED, resolve)); }, };