storybook/docs/snippets/common/storybook-storyshots-custom-framework.js.mdx
2022-11-17 16:33:22 +01:00

14 lines
351 B
Plaintext

```js
// storybook.test.js
import path from 'path';
import initStoryshots from '@storybook/addon-storyshots';
initStoryshots({
framework: 'vue3', //👈 Manually specify the project's framework
configPath: path.join(__dirname, '.storybook'),
integrityOptions: { cwd: path.join(__dirname, 'src', 'stories') },
// Other configurations
});
```