From 7e71404786297bd1b099c4545a716da0919f733d Mon Sep 17 00:00:00 2001 From: blam Date: Fri, 9 Oct 2020 13:02:21 +0200 Subject: [PATCH] chore(gitops-profiles)): removing node-fetch and jest-fetch-mock as dependencies --- plugins/gitops-profiles/package.json | 2 -- plugins/gitops-profiles/src/setupTests.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/plugins/gitops-profiles/package.json b/plugins/gitops-profiles/package.json index 478637510d..1426158ca4 100644 --- a/plugins/gitops-profiles/package.json +++ b/plugins/gitops-profiles/package.json @@ -39,9 +39,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/gitops-profiles/src/setupTests.ts b/plugins/gitops-profiles/src/setupTests.ts index 8553642152..825bcd4115 100644 --- a/plugins/gitops-profiles/src/setupTests.ts +++ b/plugins/gitops-profiles/src/setupTests.ts @@ -15,5 +15,3 @@ */ import '@testing-library/jest-dom'; - -require('jest-fetch-mock').enableMocks();