From 696df736b7d53dc67ac906ea7fa77ea4fe3881ec Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 13 Jun 2023 16:26:26 +0200 Subject: [PATCH] chore: fix cli useage Signed-off-by: blam --- packages/cli/templates/default-plugin/package.json.hbs | 3 +-- packages/cli/templates/default-plugin/src/setupTests.ts | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/cli/templates/default-plugin/package.json.hbs b/packages/cli/templates/default-plugin/package.json.hbs index 10f893d7dc..463fc6ea90 100644 --- a/packages/cli/templates/default-plugin/package.json.hbs +++ b/packages/cli/templates/default-plugin/package.json.hbs @@ -48,8 +48,7 @@ "@testing-library/react": "{{versionQuery '@testing-library/react' '12.1.3'}}", "@testing-library/user-event": "{{versionQuery '@testing-library/user-event' '14.0.0'}}", "@types/node": "{{versionQuery '@types/node' '16.11.26'}}", - "msw": "{{versionQuery 'msw' '1.0.0'}}", - "cross-fetch": "{{versionQuery 'cross-fetch' '3.1.5'}}" + "msw": "{{versionQuery 'msw' '1.0.0'}}" }, "files": [ "dist" diff --git a/packages/cli/templates/default-plugin/src/setupTests.ts b/packages/cli/templates/default-plugin/src/setupTests.ts index 48c09b5346..7b0828bfa8 100644 --- a/packages/cli/templates/default-plugin/src/setupTests.ts +++ b/packages/cli/templates/default-plugin/src/setupTests.ts @@ -1,2 +1 @@ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill';