mirror of
https://github.com/HackPlan/polaris-react.git
synced 2026-01-12 17:02:42 +08:00
Extend jest with all custom matchers in tests/matchers/index.ts instead of once for every file
8 lines
153 B
TypeScript
8 lines
153 B
TypeScript
import {destroyAll} from '@shopify/react-testing';
|
|
import '@shopify/react-testing/matchers';
|
|
import './matchers';
|
|
|
|
afterEach(() => {
|
|
destroyAll();
|
|
});
|