From fd3e3280a2590be9ca074a172c535990a5035649 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Mon, 26 Dec 2022 00:11:58 -0500 Subject: Add a proxy option for static assets. Fix the paste view handlers. --- paste-ui/src/setupTests.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 paste-ui/src/setupTests.js (limited to 'paste-ui/src/setupTests.js') diff --git a/paste-ui/src/setupTests.js b/paste-ui/src/setupTests.js new file mode 100644 index 0000000..8f2609b --- /dev/null +++ b/paste-ui/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'; -- cgit v1.2.3