UNPKG

@25sprout/react-starter

Version:

25sprout web starter with React

6 lines (4 loc) 245 B
// setupFile.js <-- this will run before the tests in jest. import { setGlobalConfig } from '@storybook/testing-react'; import * as globalStorybookConfig from './preview'; // path of your preview.js file setGlobalConfig(globalStorybookConfig);