1
0
mirror of https://github.com/storybookjs/storybook.git synced 2025-03-23 05:02:10 +08:00
2019-11-19 21:08:32 +01: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' };