aboutsummaryrefslogtreecommitdiff
path: root/src/setupTests.js
diff options
context:
space:
mode:
authorIndrajith K L2019-12-11 15:18:13 +0530
committerIndrajith K L2019-12-11 15:18:13 +0530
commit53e5edb3d93d957f82034be43940d560540525a8 (patch)
tree7de46edc0ddb2ed8eac07810aeba35f03e39bd66 /src/setupTests.js
downloadreact-redux-saga-starter-53e5edb3d93d957f82034be43940d560540525a8.tar.gz
react-redux-saga-starter-53e5edb3d93d957f82034be43940d560540525a8.tar.bz2
react-redux-saga-starter-53e5edb3d93d957f82034be43940d560540525a8.zip
Initial commit from 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 @@
+// 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';