diff options
author | 2020-10-12 17:57:17 +0100 | |
---|---|---|
committer | 2020-10-12 17:57:17 +0100 | |
commit | f81661a12c14b5959e36ec5fd2a6b45bcbcad554 (patch) | |
tree | 6644019776ddfc3b40f11392e2636d3881bc0218 /src | |
parent | Add Jest config (diff) |
Add test setup file
Diffstat (limited to 'src')
-rw-r--r-- | src/setupTests.ts | 5 |
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'; |