storybook/docs/snippets/vue/storybook-testing-addon-optional-config.3.js.mdx
Leonardo Marques 172a8e8102
Update storybook-testing-addon-optional-config.3.js.mdx
As requested for this PR
2022-04-19 10:31:20 +02:00

11 lines
228 B
Plaintext

```js
// setupFile.js
import { setGlobalConfig } from '@storybook/testing-vue3';
// Storybook's preview file location
import * as globalStorybookConfig from './.storybook/preview';
setGlobalConfig(globalStorybookConfig);
```