summaryrefslogtreecommitdiff
path: root/frontend/src/setupTests.ts
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2025-06-10 23:50:09 -0700
committerKai Stevenson <kai@kaistevenson.com>2025-06-10 23:50:09 -0700
commit87f134c9f2714593890a530221df429122c4398b (patch)
tree1f3643751e6e213c514c4c24d3ae0242c584b2c3 /frontend/src/setupTests.ts
init
Diffstat (limited to 'frontend/src/setupTests.ts')
-rw-r--r--frontend/src/setupTests.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/src/setupTests.ts b/frontend/src/setupTests.ts
new file mode 100644
index 0000000..8f2609b
--- /dev/null
+++ b/frontend/src/setupTests.ts
@@ -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';