From 6c9503257f11f705c07fa17bbd029c4a6fa366c0 Mon Sep 17 00:00:00 2001
From: Avanish Singh <79073722+aaviix@users.noreply.github.com>
Date: Thu, 16 Nov 2023 16:21:28 +0100
Subject: [PATCH] setupTests.js

---
 frontend-react/src/setupTests.js | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 frontend-react/src/setupTests.js

diff --git a/frontend-react/src/setupTests.js b/frontend-react/src/setupTests.js
new file mode 100644
index 0000000..74b1a27
--- /dev/null
+++ b/frontend-react/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';
-- 
GitLab