aboutsummaryrefslogtreecommitdiffstats
path: root/src/setupTests.js
diff options
context:
space:
mode:
authorbndw <benjamindwoodward@gmail.com>2020-05-30 10:15:45 -0700
committerbndw <benjamindwoodward@gmail.com>2020-05-30 10:15:45 -0700
commite177a74c9ea505284c8debf086f785a43d88f90b (patch)
treeb740f156a74c37bdfeae29b39617ca6a25307e8f /src/setupTests.js
Initialize project using Create React App
Diffstat (limited to 'src/setupTests.js')
-rw-r--r--src/setupTests.js5
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
5import '@testing-library/jest-dom/extend-expect';