summaryrefslogtreecommitdiff
path: root/frontend/src/setupTests.tsx
diff options
context:
space:
mode:
authorPaweł Bernaciak <pawelbernaciak@zohomail.eu>2023-10-21 11:55:50 +0200
committerPaweł Bernaciak <pawelbernaciak@zohomail.eu>2023-10-21 11:55:50 +0200
commit2ef3bdcd89731c1ed9cb7528181d19b2d9169bb5 (patch)
tree9aa6d907425d3609ab9ae4affcf5b86ef794a6da /frontend/src/setupTests.tsx
parent12fef7cbaf2073f9cc349ed765ea140be0259d8e (diff)
Add basic frontend to test login
Diffstat (limited to 'frontend/src/setupTests.tsx')
-rw-r--r--frontend/src/setupTests.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/setupTests.tsx b/frontend/src/setupTests.tsx
new file mode 100644
index 0000000..8f2609b
--- /dev/null
+++ b/frontend/src/setupTests.tsx
@@ -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';