1
0
mirror of https://github.com/storybookjs/storybook.git synced 2025-03-23 05:02:10 +08:00
storybook/examples/web-components-kitchen-sink/web-components-storyshots.test.js

10 lines
321 B
JavaScript
Raw Normal View History

import path from 'path';
import initStoryshots, { multiSnapshotWithOptions } from '@storybook/addon-storyshots';
initStoryshots({
framework: 'web-components',
integrityOptions: { cwd: path.join(__dirname, 'src', 'stories') },
configPath: path.join(__dirname, '.storybook'),
test: multiSnapshotWithOptions(),
});