aboutsummaryrefslogtreecommitdiff
path: root/client/src/setupTests.js
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2025-04-27 12:03:11 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2025-04-27 12:03:11 -0600
commit9b54bad317b69d17134ddc27a5570984fba15826 (patch)
tree333e020e74fc0f423b958598c78b1d202dd2506c /client/src/setupTests.js
parentfa745c47d1fc08e149fb827b022dd19bb527092b (diff)
initial commit - client
Diffstat (limited to 'client/src/setupTests.js')
-rw-r--r--client/src/setupTests.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/setupTests.js b/client/src/setupTests.js
new file mode 100644
index 0000000..8f2609b
--- /dev/null
+++ b/client/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';