From a584730e14b4451dca27796d44998a69dccfe564 Mon Sep 17 00:00:00 2001 From: blam Date: Fri, 9 Oct 2020 13:03:12 +0200 Subject: [PATCH] chore(graphiql): removing node-fetch and jest-fetch-mock as dependencies --- plugins/graphiql/package.json | 2 -- plugins/graphiql/src/setupTests.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/plugins/graphiql/package.json b/plugins/graphiql/package.json index e8a6722167..b81d78715a 100644 --- a/plugins/graphiql/package.json +++ b/plugins/graphiql/package.json @@ -52,9 +52,7 @@ "@types/codemirror": "^0.0.97", "@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", "react-router-dom": "6.0.0-beta.0", "cross-fetch": "^3.0.6" }, diff --git a/plugins/graphiql/src/setupTests.ts b/plugins/graphiql/src/setupTests.ts index 8553642152..825bcd4115 100644 --- a/plugins/graphiql/src/setupTests.ts +++ b/plugins/graphiql/src/setupTests.ts @@ -15,5 +15,3 @@ */ import '@testing-library/jest-dom'; - -require('jest-fetch-mock').enableMocks();