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:
Ben Scott
2019-07-15 16:55:54 -07:00
committed by GitHub
parent 2b49bf5e30
commit 8667cf7976
8 changed files with 21 additions and 24 deletions

View File

@@ -1,5 +1,6 @@
import {destroyAll} from '@shopify/react-testing';
import '../src/test-utilities/matchers';
import '@shopify/react-testing/matchers';
import './matchers';
afterEach(() => {
destroyAll();