From 362a6daa472a62bfc7c492e71e4a26a82965c74a Mon Sep 17 00:00:00 2001 From: Marcelo Reyna Date: Fri, 7 Feb 2020 12:58:11 -0800 Subject: [PATCH] Remove test from examples --- examples/cra/webapp/package.json | 1 - examples/cra/webapp/src/App.test.js | 9 --------- 2 files changed, 10 deletions(-) delete mode 100644 examples/cra/webapp/src/App.test.js diff --git a/examples/cra/webapp/package.json b/examples/cra/webapp/package.json index 10c1dd4..d5d91b1 100644 --- a/examples/cra/webapp/package.json +++ b/examples/cra/webapp/package.json @@ -13,7 +13,6 @@ "scripts": { "start": "react-scripts start", "build": "react-scripts build", - "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { diff --git a/examples/cra/webapp/src/App.test.js b/examples/cra/webapp/src/App.test.js deleted file mode 100644 index 4db7ebc..0000000 --- a/examples/cra/webapp/src/App.test.js +++ /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(); -});