storybook/docs/snippets/vue/storybook-testing-addon-optional-config.2.js.mdx
Leonardo Marques 406950fee0
Update storybook-testing-addon-optional-config.2.js.mdx
As per requested for completion of this PR
2022-04-19 10:29:49 +02:00

11 lines
227 B
Plaintext

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