summaryrefslogtreecommitdiffstats
path: root/client/src/setupTests.js
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-06-27 16:15:51 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-06-27 16:15:51 +0530
commite98952d946913b4bc1672ead042339d66d491b35 (patch)
tree96706645f37f8379fa35001c172eaee88c5fe7b4 /client/src/setupTests.js
parent26dc4df1218e6d7235fc196b556da122054247df (diff)
downloadinsta-local-e98952d946913b4bc1672ead042339d66d491b35.tar.gz
insta-local-e98952d946913b4bc1672ead042339d66d491b35.tar.bz2
insta-local-e98952d946913b4bc1672ead042339d66d491b35.zip
added react app
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';