From 4cb40b2872649fae5e4a9b65f11a5e3450132aa4 Mon Sep 17 00:00:00 2001 From: rohan09-raj Date: Fri, 15 Jul 2022 23:55:55 +0530 Subject: Initial Commit --- src/App.test.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/App.test.js (limited to 'src/App.test.js') diff --git a/src/App.test.js b/src/App.test.js new file mode 100644 index 0000000..1f03afe --- /dev/null +++ b/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