mirror of
https://github.com/HackPlan/polaris-react.git
synced 2026-04-30 02:05:47 +08:00
Move custom matchers into tests directory (#1823)
Extend jest with all custom matchers in tests/matchers/index.ts instead of once for every file
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import {destroyAll} from '@shopify/react-testing';
|
||||
import '../src/test-utilities/matchers';
|
||||
import '@shopify/react-testing/matchers';
|
||||
import './matchers';
|
||||
|
||||
afterEach(() => {
|
||||
destroyAll();
|
||||
|
||||
Reference in New Issue
Block a user