From 304a7cdaf806bed134e6cbfb244355fcd4dcb236 Mon Sep 17 00:00:00 2001 From: blam Date: Fri, 9 Oct 2020 12:12:36 +0200 Subject: [PATCH] chore(explore): removing the node-fetch and jest-fetch-mock dependency --- plugins/explore/package.json | 2 -- plugins/explore/src/setupTests.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/plugins/explore/package.json b/plugins/explore/package.json index 07265bc8d1..5d0c139b8b 100644 --- a/plugins/explore/package.json +++ b/plugins/explore/package.json @@ -41,9 +41,7 @@ "@testing-library/user-event": "^12.0.7", "@types/jest": "^26.0.7", "@types/node": "^12.0.0", - "jest-fetch-mock": "^3.0.3", "msw": "^0.21.2", - "node-fetch": "^2.6.1", "cross-fetch": "^3.0.6" }, "files": [ diff --git a/plugins/explore/src/setupTests.ts b/plugins/explore/src/setupTests.ts index 8553642152..825bcd4115 100644 --- a/plugins/explore/src/setupTests.ts +++ b/plugins/explore/src/setupTests.ts @@ -15,5 +15,3 @@ */ import '@testing-library/jest-dom'; - -require('jest-fetch-mock').enableMocks();