2019-06-24 00:39:54 +08:00

11 lines
300 B
JavaScript

import { withTests as wt } from '@storybook/addon-jest';
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' };