From aea7eb4f4fc7eb8cafd0ab18af57a00d51f1158e Mon Sep 17 00:00:00 2001 From: Rene Saarsoo Date: Thu, 1 Oct 2020 21:13:24 +0300 Subject: [PATCH] Drop tests setup --- src/App.test.tsx | 9 --------- src/setupTests.ts | 5 ----- 2 files changed, 14 deletions(-) delete mode 100644 src/App.test.tsx delete mode 100644 src/setupTests.ts diff --git a/src/App.test.tsx b/src/App.test.tsx deleted file mode 100644 index 4db7ebc..0000000 --- a/src/App.test.tsx +++ /dev/null @@ -1,9 +0,0 @@ -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(); -}); diff --git a/src/setupTests.ts b/src/setupTests.ts deleted file mode 100644 index 74b1a27..0000000 --- a/src/setupTests.ts +++ /dev/null @@ -1,5 +0,0 @@ -// 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/extend-expect';