aboutsummaryrefslogtreecommitdiffstats
path: root/src/setupTests.ts
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-10-12 17:57:17 +0100
committerGravatar Joe Banks <[email protected]>2020-10-12 17:57:17 +0100
commitf81661a12c14b5959e36ec5fd2a6b45bcbcad554 (patch)
tree6644019776ddfc3b40f11392e2636d3881bc0218 /src/setupTests.ts
parentAdd Jest config (diff)
Add test setup file
Diffstat (limited to 'src/setupTests.ts')
-rw-r--r--src/setupTests.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/setupTests.ts b/src/setupTests.ts
index 74b1a27..4dc2c73 100644
--- a/src/setupTests.ts
+++ b/src/setupTests.ts
@@ -1,5 +1,2 @@
-// jest-dom adds custom jest matchers for asserting on DOM nodes.
-// allows you to do things like:
-// expect(element).toHaveTextContent(/react/i)
-// learn more: https://github.com/testing-library/jest-dom
+
import '@testing-library/jest-dom/extend-expect';