mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
Fix bug where @storybook/test is not imported but canvas is used directly from context
This commit is contained in:
parent
ceb8387e24
commit
46aa6e01ff
@ -1,6 +1,9 @@
|
||||
import type { PlayFunction, StepLabel, StoryContext } from 'storybook/internal/types';
|
||||
|
||||
import { instrument } from '@storybook/instrumenter';
|
||||
// This makes sure that storybook test loaders are always loaded when addon-interactions is used
|
||||
// For 9.0 we want to merge storybook/test and addon-interactions into one addon.
|
||||
import '@storybook/test';
|
||||
|
||||
export const { step: runStep } = instrument(
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user