Files
polaris-react/tests/each-test.ts
Ben Scott 8667cf7976 Move custom matchers into tests directory (#1823)
Extend jest with all custom matchers in tests/matchers/index.ts instead
of once for every file
2019-07-15 16:55:54 -07:00

8 lines
153 B
TypeScript

import {destroyAll} from '@shopify/react-testing';
import '@shopify/react-testing/matchers';
import './matchers';
afterEach(() => {
destroyAll();
});