diff options
Diffstat (limited to 'src/setupTests.js')
| -rw-r--r-- | src/setupTests.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/setupTests.js b/src/setupTests.js new file mode 100644 index 0000000..74b1a27 --- /dev/null +++ b/src/setupTests.js | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. | ||
| 2 | // allows you to do things like: | ||
| 3 | // expect(element).toHaveTextContent(/react/i) | ||
| 4 | // learn more: https://github.com/testing-library/jest-dom | ||
| 5 | import '@testing-library/jest-dom/extend-expect'; | ||
