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/App.test.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 paste-ui/src/App.test.js (limited to 'paste-ui/src/App.test.js') diff --git a/paste-ui/src/App.test.js b/paste-ui/src/App.test.js new file mode 100644 index 0000000..1f03afe --- /dev/null +++ b/paste-ui/src/App.test.js @@ -0,0 +1,8 @@ +import { render, screen } from '@testing-library/react'; +import App from './App'; + +test('renders learn react link', () => { + render(); + const linkElement = screen.getByText(/learn react/i); + expect(linkElement).toBeInTheDocument(); +}); -- cgit v1.2.3