@thot/components
Version:
Libreria de componentes web
15 lines (12 loc) • 350 B
JavaScript
// import initStoryshots from '@storybook/addon-storyshots'
// initStoryshots()
import initStoryshots, {
multiSnapshotWithOptions,
Stories2SnapsConverter,
} from '@storybook/addon-storyshots'
initStoryshots({
test: multiSnapshotWithOptions(),
stories2snapsConverter: new Stories2SnapsConverter({
snapshotExtension: '.js.snap',
}),
})