From 53e5edb3d93d957f82034be43940d560540525a8 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Wed, 11 Dec 2019 15:18:13 +0530 Subject: Initial commit from Create React App --- src/App.test.js | 9 +++++++++ 1 file changed, 9 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..4db7ebc --- /dev/null +++ b/src/App.test.js @@ -0,0 +1,9 @@ +import React from 'react'; +import { render } from '@testing-library/react'; +import App from './App'; + +test('renders learn react link', () => { + const { getByText } = render(); + const linkElement = getByText(/learn react/i); + expect(linkElement).toBeInTheDocument(); +}); -- cgit v1.2.3