From 58c47725b9f2c171065b9e35cdbc0e4525ec7255 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sat, 13 Mar 2021 21:40:29 +0300 Subject: Initialize project using Create React App --- src/App.test.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/App.test.tsx (limited to 'src/App.test.tsx') diff --git a/src/App.test.tsx b/src/App.test.tsx new file mode 100644 index 0000000..2a68616 --- /dev/null +++ b/src/App.test.tsx @@ -0,0 +1,9 @@ +import React from 'react'; +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