diff options
| author | bndw <benjamindwoodward@gmail.com> | 2020-05-30 10:15:45 -0700 |
|---|---|---|
| committer | bndw <benjamindwoodward@gmail.com> | 2020-05-30 10:15:45 -0700 |
| commit | e177a74c9ea505284c8debf086f785a43d88f90b (patch) | |
| tree | b740f156a74c37bdfeae29b39617ca6a25307e8f /src/setupTests.js | |
Initialize project using Create React App
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'; | ||
