From 0425821ea3fb9f07c76008314d70306922580912 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Tue, 22 Jun 2021 10:45:47 +1000 Subject: [PATCH] Remove all tests Issue with `TextDecoder is not defined` and we are not testing anything at the moment. --- examples/eth-dm/package.json | 1 - examples/eth-dm/src/App.test.tsx | 9 --------- 2 files changed, 10 deletions(-) delete mode 100644 examples/eth-dm/src/App.test.tsx diff --git a/examples/eth-dm/package.json b/examples/eth-dm/package.json index 1437f6d8fb..3dddbdd502 100644 --- a/examples/eth-dm/package.json +++ b/examples/eth-dm/package.json @@ -26,7 +26,6 @@ "start": "react-scripts start", "build": "run-s build:*", "build:react": "react-scripts build", - "test:unit": "react-scripts test", "eject": "react-scripts eject", "fix": "run-s fix:*", "test": "run-s build test:*", diff --git a/examples/eth-dm/src/App.test.tsx b/examples/eth-dm/src/App.test.tsx deleted file mode 100644 index 2a68616d98..0000000000 --- a/examples/eth-dm/src/App.test.tsx +++ /dev/null @@ -1,9 +0,0 @@ -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(); -});