storybook/addons/storyshots/stories/storyshot.shallow.test.js

9 lines
208 B
JavaScript

import path from 'path';
import initStoryshots, { shallowSnapshot } from '../src';
initStoryshots({
framework: 'react',
configPath: path.join(__dirname, '..', '.storybook'),
test: shallowSnapshot,
});