mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
14 lines
351 B
Plaintext
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
|
|
});
|
|
```
|