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

9 lines
198 B
JavaScript

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