From 2ef3bdcd89731c1ed9cb7528181d19b2d9169bb5 Mon Sep 17 00:00:00 2001 From: Paweł Bernaciak Date: Sat, 21 Oct 2023 11:55:50 +0200 Subject: Add basic frontend to test login --- frontend/src/setupTests.tsx | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 frontend/src/setupTests.tsx (limited to 'frontend/src/setupTests.tsx') 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'; -- cgit v1.2.3