From 3cf6336a50a6deb59f60abe591961ed251178643 Mon Sep 17 00:00:00 2001 From: blam Date: Fri, 9 Oct 2020 12:04:27 +0200 Subject: [PATCH] chore(cloudbuild): removing the dependency on jest-fetch-mock and node-fetch --- plugins/cloudbuild/package.json | 2 -- plugins/cloudbuild/src/setupTests.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/plugins/cloudbuild/package.json b/plugins/cloudbuild/package.json index 81e7e7cc68..290e3f2e80 100644 --- a/plugins/cloudbuild/package.json +++ b/plugins/cloudbuild/package.json @@ -47,9 +47,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/cloudbuild/src/setupTests.ts b/plugins/cloudbuild/src/setupTests.ts index 4b4cdbdaaf..0bfa67b49a 100644 --- a/plugins/cloudbuild/src/setupTests.ts +++ b/plugins/cloudbuild/src/setupTests.ts @@ -14,5 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; - -require('jest-fetch-mock').enableMocks();