From b31a2ea352d5437b81e29957b4c50f7f0aeb41b0 Mon Sep 17 00:00:00 2001 From: blam Date: Fri, 9 Oct 2020 12:10:40 +0200 Subject: [PATCH] chore(cost-insigts): removing jest-fetch-mock and node-fetch dependency --- plugins/cost-insights/package.json | 2 -- plugins/cost-insights/src/setupTests.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/plugins/cost-insights/package.json b/plugins/cost-insights/package.json index ab97e78026..36e6a16218 100644 --- a/plugins/cost-insights/package.json +++ b/plugins/cost-insights/package.json @@ -49,9 +49,7 @@ "@types/jest": "^26.0.7", "@types/node": "^12.0.0", "@types/recharts": "^1.8.14", - "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/cost-insights/src/setupTests.ts b/plugins/cost-insights/src/setupTests.ts index 8553642152..825bcd4115 100644 --- a/plugins/cost-insights/src/setupTests.ts +++ b/plugins/cost-insights/src/setupTests.ts @@ -15,5 +15,3 @@ */ import '@testing-library/jest-dom'; - -require('jest-fetch-mock').enableMocks();