default
constdefault:object
Defined in: configs/storybook-config/index.ts:11
The Storybook helpers bundled in one object: MSW setup, setProjectAnnotations, the main config, the preview and the test runner config.
Type Declaration
Section titled “Type Declaration”initMSW
Section titled “initMSW”initMSW: typeof
initMSW
Initialises Mock Service Worker for Storybook.
setProjectAnnotations
Section titled “setProjectAnnotations”setProjectAnnotations: typeof
setProjectAnnotations
Storybook’s setProjectAnnotations, which applies the project’s preview annotations (for example in tests).
storybookConfig
Section titled “storybookConfig”storybookConfig: typeof
storybookConfig
The shared Storybook main config.
storybookPreview
Section titled “storybookPreview”storybookPreview: typeof
storybookPreview
The shared Storybook preview config.
storybookTestRunner
Section titled “storybookTestRunner”storybookTestRunner: typeof
storybookTestRunner
The shared Storybook test-runner config.