11 lines
300 B
JavaScript
Raw Normal View History

import { withTests as wt } from '@storybook/addon-jest';
2018-05-05 01:04:11 +03:00
import results from './addon-jest.testresults.json';
export default {
title: 'Addons/Jest',
decorators: [wt({ results })],
};
export const WithTests = () => 'This story shows test results';
WithTests.parameters = { jest: 'addon-jest' };