diff --git a/plugins/adr/src/setupTests.ts b/plugins/adr/src/setupTests.ts index 9bb3e72355..326d2ed212 100644 --- a/plugins/adr/src/setupTests.ts +++ b/plugins/adr/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/airbrake/package.json b/plugins/airbrake/package.json index d600586f00..af28de5745 100644 --- a/plugins/airbrake/package.json +++ b/plugins/airbrake/package.json @@ -50,7 +50,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/airbrake/src/setupTests.ts b/plugins/airbrake/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/airbrake/src/setupTests.ts +++ b/plugins/airbrake/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/allure/package.json b/plugins/allure/package.json index 78fcfd30f0..5bfd6dfa99 100644 --- a/plugins/allure/package.json +++ b/plugins/allure/package.json @@ -49,7 +49,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/allure/src/setupTests.ts b/plugins/allure/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/allure/src/setupTests.ts +++ b/plugins/allure/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/analytics-module-ga/package.json b/plugins/analytics-module-ga/package.json index 13a6e91d2b..337c4f4ff8 100644 --- a/plugins/analytics-module-ga/package.json +++ b/plugins/analytics-module-ga/package.json @@ -49,7 +49,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/analytics-module-ga/src/setupTests.ts b/plugins/analytics-module-ga/src/setupTests.ts index 4ed20ac097..bd29200219 100644 --- a/plugins/analytics-module-ga/src/setupTests.ts +++ b/plugins/analytics-module-ga/src/setupTests.ts @@ -14,7 +14,6 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; // eslint-disable-next-line no-restricted-imports import { TextEncoder } from 'util'; diff --git a/plugins/analytics-module-ga4/package.json b/plugins/analytics-module-ga4/package.json index 4771dd5156..7a652e86ea 100644 --- a/plugins/analytics-module-ga4/package.json +++ b/plugins/analytics-module-ga4/package.json @@ -46,7 +46,6 @@ "@types/jest": "^28.1.3", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/analytics-module-ga4/src/setupTests.ts b/plugins/analytics-module-ga4/src/setupTests.ts index 4ed20ac097..bd29200219 100644 --- a/plugins/analytics-module-ga4/src/setupTests.ts +++ b/plugins/analytics-module-ga4/src/setupTests.ts @@ -14,7 +14,6 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; // eslint-disable-next-line no-restricted-imports import { TextEncoder } from 'util'; diff --git a/plugins/apache-airflow/src/setupTests.ts b/plugins/apache-airflow/src/setupTests.ts index 427556fe26..992b60d3a4 100644 --- a/plugins/apache-airflow/src/setupTests.ts +++ b/plugins/apache-airflow/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/apollo-explorer/package.json b/plugins/apollo-explorer/package.json index 7a55d921a8..36fe085651 100644 --- a/plugins/apollo-explorer/package.json +++ b/plugins/apollo-explorer/package.json @@ -47,7 +47,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/apollo-explorer/src/setupTests.ts b/plugins/apollo-explorer/src/setupTests.ts index 9bb3e72355..326d2ed212 100644 --- a/plugins/apollo-explorer/src/setupTests.ts +++ b/plugins/apollo-explorer/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/azure-devops/package.json b/plugins/azure-devops/package.json index 0bebc02495..958fd290e1 100644 --- a/plugins/azure-devops/package.json +++ b/plugins/azure-devops/package.json @@ -58,7 +58,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/azure-devops/src/setupTests.ts b/plugins/azure-devops/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/azure-devops/src/setupTests.ts +++ b/plugins/azure-devops/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/azure-sites/package.json b/plugins/azure-sites/package.json index b31ebac2cc..f6ac2b9549 100644 --- a/plugins/azure-sites/package.json +++ b/plugins/azure-sites/package.json @@ -60,7 +60,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/azure-sites/src/setupTests.ts b/plugins/azure-sites/src/setupTests.ts index 2b5b615b19..7a459ed24e 100644 --- a/plugins/azure-sites/src/setupTests.ts +++ b/plugins/azure-sites/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/badges/package.json b/plugins/badges/package.json index 3f79c3a2ce..623c79644d 100644 --- a/plugins/badges/package.json +++ b/plugins/badges/package.json @@ -51,8 +51,7 @@ "@backstage/dev-utils": "workspace:^", "@backstage/test-utils": "workspace:^", "@testing-library/jest-dom": "^5.16.5", - "@types/node": "^16.11.26", - "cross-fetch": "^3.1.5" + "@types/node": "^16.11.26" }, "files": [ "dist" diff --git a/plugins/badges/src/setupTests.ts b/plugins/badges/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/badges/src/setupTests.ts +++ b/plugins/badges/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/bazaar/package.json b/plugins/bazaar/package.json index 3cdb23e646..a613b5166f 100644 --- a/plugins/bazaar/package.json +++ b/plugins/bazaar/package.json @@ -51,8 +51,7 @@ "@backstage/cli": "workspace:^", "@backstage/dev-utils": "workspace:^", "@testing-library/jest-dom": "^5.10.1", - "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5" + "@types/react": "^16.13.1 || ^17.0.0" }, "files": [ "dist" diff --git a/plugins/bazaar/src/setupTests.ts b/plugins/bazaar/src/setupTests.ts index 427556fe26..992b60d3a4 100644 --- a/plugins/bazaar/src/setupTests.ts +++ b/plugins/bazaar/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/bitrise/package.json b/plugins/bitrise/package.json index de09d44f77..cdb5f19b9f 100644 --- a/plugins/bitrise/package.json +++ b/plugins/bitrise/package.json @@ -31,7 +31,6 @@ "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.61", - "cross-fetch": "^3.1.5", "lodash": "^4.17.21", "luxon": "^3.0.0", "qs": "^6.9.6", diff --git a/plugins/bitrise/src/setupTests.ts b/plugins/bitrise/src/setupTests.ts index 427556fe26..992b60d3a4 100644 --- a/plugins/bitrise/src/setupTests.ts +++ b/plugins/bitrise/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/catalog-import/package.json b/plugins/catalog-import/package.json index 227e6295d8..96263560e3 100644 --- a/plugins/catalog-import/package.json +++ b/plugins/catalog-import/package.json @@ -69,7 +69,6 @@ "@testing-library/react": "^12.1.3", "@testing-library/react-hooks": "^8.0.0", "@testing-library/user-event": "^14.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/catalog-import/src/setupTests.ts b/plugins/catalog-import/src/setupTests.ts index c1d649f2ad..963c0f188b 100644 --- a/plugins/catalog-import/src/setupTests.ts +++ b/plugins/catalog-import/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/catalog-react/package.json b/plugins/catalog-react/package.json index be6c89290c..26bb0252fb 100644 --- a/plugins/catalog-react/package.json +++ b/plugins/catalog-react/package.json @@ -89,7 +89,6 @@ "@testing-library/user-event": "^14.0.0", "@types/jwt-decode": "^3.1.0", "@types/zen-observable": "^0.8.0", - "cross-fetch": "^3.1.5", "react-test-renderer": "^16.13.1" }, "files": [ diff --git a/plugins/catalog-react/src/setupTests.ts b/plugins/catalog-react/src/setupTests.ts index c1d649f2ad..963c0f188b 100644 --- a/plugins/catalog-react/src/setupTests.ts +++ b/plugins/catalog-react/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/catalog-unprocessed-entities/package.json b/plugins/catalog-unprocessed-entities/package.json index 3aa40fe1c0..10096c29c0 100644 --- a/plugins/catalog-unprocessed-entities/package.json +++ b/plugins/catalog-unprocessed-entities/package.json @@ -44,7 +44,6 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/node": "*", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/catalog-unprocessed-entities/src/setupTests.ts b/plugins/catalog-unprocessed-entities/src/setupTests.ts index 73dd8dce47..865308e634 100644 --- a/plugins/catalog-unprocessed-entities/src/setupTests.ts +++ b/plugins/catalog-unprocessed-entities/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/catalog/package.json b/plugins/catalog/package.json index 8d5ed9fe8f..cfe9974b25 100644 --- a/plugins/catalog/package.json +++ b/plugins/catalog/package.json @@ -70,8 +70,7 @@ "@testing-library/dom": "^8.0.0", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^12.1.3", - "@testing-library/user-event": "^14.0.0", - "cross-fetch": "^3.1.5" + "@testing-library/user-event": "^14.0.0" }, "files": [ "dist" diff --git a/plugins/catalog/src/setupTests.ts b/plugins/catalog/src/setupTests.ts index c1d649f2ad..963c0f188b 100644 --- a/plugins/catalog/src/setupTests.ts +++ b/plugins/catalog/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/code-climate/package.json b/plugins/code-climate/package.json index 83c658673a..1b1c38f283 100644 --- a/plugins/code-climate/package.json +++ b/plugins/code-climate/package.json @@ -51,7 +51,6 @@ "@types/luxon": "^3.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/code-climate/src/setupTests.ts b/plugins/code-climate/src/setupTests.ts index eb4654b869..c2f27937b3 100644 --- a/plugins/code-climate/src/setupTests.ts +++ b/plugins/code-climate/src/setupTests.ts @@ -17,4 +17,3 @@ /* eslint-disable @backstage/no-undeclared-imports */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/code-coverage/package.json b/plugins/code-coverage/package.json index 15c1bee560..2f9350eb7d 100644 --- a/plugins/code-coverage/package.json +++ b/plugins/code-coverage/package.json @@ -57,7 +57,6 @@ "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", "@types/recharts": "^1.8.15", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/code-coverage/src/setupTests.ts b/plugins/code-coverage/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/code-coverage/src/setupTests.ts +++ b/plugins/code-coverage/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/codescene/package.json b/plugins/codescene/package.json index 41afdb82a4..4263ad021e 100644 --- a/plugins/codescene/package.json +++ b/plugins/codescene/package.json @@ -49,7 +49,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/codescene/src/setupTests.ts b/plugins/codescene/src/setupTests.ts index 9bb3e72355..326d2ed212 100644 --- a/plugins/codescene/src/setupTests.ts +++ b/plugins/codescene/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/config-schema/package.json b/plugins/config-schema/package.json index d92b17aa3a..d697dd0636 100644 --- a/plugins/config-schema/package.json +++ b/plugins/config-schema/package.json @@ -52,7 +52,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/config-schema/src/setupTests.ts b/plugins/config-schema/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/config-schema/src/setupTests.ts +++ b/plugins/config-schema/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/entity-feedback/package.json b/plugins/entity-feedback/package.json index b55a211b02..b7e2c32fe3 100644 --- a/plugins/entity-feedback/package.json +++ b/plugins/entity-feedback/package.json @@ -56,7 +56,6 @@ "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.0.0", "@types/node": "*", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/entity-feedback/src/setupTests.ts b/plugins/entity-feedback/src/setupTests.ts index bf4855cb6e..c30f1d15cb 100644 --- a/plugins/entity-feedback/src/setupTests.ts +++ b/plugins/entity-feedback/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/entity-validation/package.json b/plugins/entity-validation/package.json index 803d0a79c2..849aa94082 100644 --- a/plugins/entity-validation/package.json +++ b/plugins/entity-validation/package.json @@ -63,7 +63,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/entity-validation/src/setupTests.ts b/plugins/entity-validation/src/setupTests.ts index 73dd8dce47..865308e634 100644 --- a/plugins/entity-validation/src/setupTests.ts +++ b/plugins/entity-validation/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/firehydrant/package.json b/plugins/firehydrant/package.json index 464b22f46d..4345a6610c 100644 --- a/plugins/firehydrant/package.json +++ b/plugins/firehydrant/package.json @@ -50,7 +50,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/firehydrant/src/setupTests.ts b/plugins/firehydrant/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/firehydrant/src/setupTests.ts +++ b/plugins/firehydrant/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/gcalendar/package.json b/plugins/gcalendar/package.json index 1e630223af..4c2ae878fa 100644 --- a/plugins/gcalendar/package.json +++ b/plugins/gcalendar/package.json @@ -57,7 +57,6 @@ "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", "@types/sanitize-html": "^2.6.2", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/gcalendar/src/setupTests.ts b/plugins/gcalendar/src/setupTests.ts index 9bb3e72355..326d2ed212 100644 --- a/plugins/gcalendar/src/setupTests.ts +++ b/plugins/gcalendar/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/git-release-manager/package.json b/plugins/git-release-manager/package.json index 89fea27736..65a466f1ae 100644 --- a/plugins/git-release-manager/package.json +++ b/plugins/git-release-manager/package.json @@ -54,7 +54,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/recharts": "^1.8.15", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/git-release-manager/src/setupTests.ts b/plugins/git-release-manager/src/setupTests.ts index 427556fe26..992b60d3a4 100644 --- a/plugins/git-release-manager/src/setupTests.ts +++ b/plugins/git-release-manager/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/github-deployments/package.json b/plugins/github-deployments/package.json index 7ea56709f5..04674bd9ff 100644 --- a/plugins/github-deployments/package.json +++ b/plugins/github-deployments/package.json @@ -54,7 +54,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/github-deployments/src/setupTests.ts b/plugins/github-deployments/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/github-deployments/src/setupTests.ts +++ b/plugins/github-deployments/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/github-issues/package.json b/plugins/github-issues/package.json index 633cb60266..5a934c75f8 100644 --- a/plugins/github-issues/package.json +++ b/plugins/github-issues/package.json @@ -52,7 +52,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/github-issues/src/setupTests.ts b/plugins/github-issues/src/setupTests.ts index 9bb3e72355..326d2ed212 100644 --- a/plugins/github-issues/src/setupTests.ts +++ b/plugins/github-issues/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/github-pull-requests-board/package.json b/plugins/github-pull-requests-board/package.json index b4af885bc6..f66cf8fbce 100644 --- a/plugins/github-pull-requests-board/package.json +++ b/plugins/github-pull-requests-board/package.json @@ -63,7 +63,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/github-pull-requests-board/src/setupTests.ts b/plugins/github-pull-requests-board/src/setupTests.ts index 9bb3e72355..326d2ed212 100644 --- a/plugins/github-pull-requests-board/src/setupTests.ts +++ b/plugins/github-pull-requests-board/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/gocd/package.json b/plugins/gocd/package.json index 766afdcc76..58a459be4c 100644 --- a/plugins/gocd/package.json +++ b/plugins/gocd/package.json @@ -61,7 +61,6 @@ "@types/luxon": "^3.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/gocd/src/setupTests.ts b/plugins/gocd/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/gocd/src/setupTests.ts +++ b/plugins/gocd/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/graphql-voyager/package.json b/plugins/graphql-voyager/package.json index 6ad5e9df22..06608f4ed3 100644 --- a/plugins/graphql-voyager/package.json +++ b/plugins/graphql-voyager/package.json @@ -48,7 +48,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/graphql-voyager/src/setupTests.ts b/plugins/graphql-voyager/src/setupTests.ts index 73dd8dce47..865308e634 100644 --- a/plugins/graphql-voyager/src/setupTests.ts +++ b/plugins/graphql-voyager/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/home/package.json b/plugins/home/package.json index 3fde2f6c51..c0b9e06e51 100644 --- a/plugins/home/package.json +++ b/plugins/home/package.json @@ -70,7 +70,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react-grid-layout": "^1.3.2", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/home/src/setupTests.ts b/plugins/home/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/home/src/setupTests.ts +++ b/plugins/home/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/ilert/package.json b/plugins/ilert/package.json index 4c4ae17ec2..15c19865e1 100644 --- a/plugins/ilert/package.json +++ b/plugins/ilert/package.json @@ -55,7 +55,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/ilert/src/setupTests.ts b/plugins/ilert/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/ilert/src/setupTests.ts +++ b/plugins/ilert/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/kafka/package.json b/plugins/kafka/package.json index cd4fd99820..79e1834025 100644 --- a/plugins/kafka/package.json +++ b/plugins/kafka/package.json @@ -52,7 +52,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "jest-when": "^3.1.0", "msw": "^1.0.0" }, diff --git a/plugins/kafka/src/setupTests.ts b/plugins/kafka/src/setupTests.ts index b201a9c83e..28a35d2b06 100644 --- a/plugins/kafka/src/setupTests.ts +++ b/plugins/kafka/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/kubernetes/package.json b/plugins/kubernetes/package.json index 5318e1dffe..f31e0678c2 100644 --- a/plugins/kubernetes/package.json +++ b/plugins/kubernetes/package.json @@ -71,7 +71,6 @@ "@testing-library/react-hooks": "^8.0.0", "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/kubernetes/src/setupTests.ts b/plugins/kubernetes/src/setupTests.ts index f7752030ed..a373310a1a 100644 --- a/plugins/kubernetes/src/setupTests.ts +++ b/plugins/kubernetes/src/setupTests.ts @@ -16,7 +16,6 @@ import '@testing-library/jest-dom'; // eslint-disable-next-line no-restricted-imports import { TextDecoder, TextEncoder } from 'util'; -import 'cross-fetch/polyfill'; // These are missing from jest-node, so not available on global. Object.defineProperty(global, 'TextEncoder', { diff --git a/plugins/lighthouse/package.json b/plugins/lighthouse/package.json index 748daa63f0..9f9a271e93 100644 --- a/plugins/lighthouse/package.json +++ b/plugins/lighthouse/package.json @@ -62,7 +62,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/lighthouse/src/setupTests.ts b/plugins/lighthouse/src/setupTests.ts index c1d649f2ad..963c0f188b 100644 --- a/plugins/lighthouse/src/setupTests.ts +++ b/plugins/lighthouse/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/linguist/package.json b/plugins/linguist/package.json index 3cbcf07ba3..fcc8ad4352 100644 --- a/plugins/linguist/package.json +++ b/plugins/linguist/package.json @@ -58,7 +58,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/linguist/src/setupTests.ts b/plugins/linguist/src/setupTests.ts index 2b5b615b19..7a459ed24e 100644 --- a/plugins/linguist/src/setupTests.ts +++ b/plugins/linguist/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/microsoft-calendar/package.json b/plugins/microsoft-calendar/package.json index f9eb4e0cec..c8f9799127 100644 --- a/plugins/microsoft-calendar/package.json +++ b/plugins/microsoft-calendar/package.json @@ -72,7 +72,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/microsoft-calendar/src/setupTests.ts b/plugins/microsoft-calendar/src/setupTests.ts index 73dd8dce47..865308e634 100644 --- a/plugins/microsoft-calendar/src/setupTests.ts +++ b/plugins/microsoft-calendar/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/newrelic-dashboard/package.json b/plugins/newrelic-dashboard/package.json index 1ec9e0953a..790c9f6546 100644 --- a/plugins/newrelic-dashboard/package.json +++ b/plugins/newrelic-dashboard/package.json @@ -41,8 +41,7 @@ "@backstage/cli": "workspace:^", "@backstage/dev-utils": "workspace:^", "@testing-library/jest-dom": "^5.10.1", - "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5" + "@types/react": "^16.13.1 || ^17.0.0" }, "files": [ "dist" diff --git a/plugins/newrelic-dashboard/src/setupTests.ts b/plugins/newrelic-dashboard/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/newrelic-dashboard/src/setupTests.ts +++ b/plugins/newrelic-dashboard/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/octopus-deploy/package.json b/plugins/octopus-deploy/package.json index 7a2a2de7ae..4194cde3ba 100644 --- a/plugins/octopus-deploy/package.json +++ b/plugins/octopus-deploy/package.json @@ -48,7 +48,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/octopus-deploy/src/setupTests.ts b/plugins/octopus-deploy/src/setupTests.ts index 73dd8dce47..865308e634 100644 --- a/plugins/octopus-deploy/src/setupTests.ts +++ b/plugins/octopus-deploy/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/org-react/package.json b/plugins/org-react/package.json index a224948146..c402a0cf57 100644 --- a/plugins/org-react/package.json +++ b/plugins/org-react/package.json @@ -57,7 +57,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/org-react/src/setupTests.ts b/plugins/org-react/src/setupTests.ts index 9bb3e72355..326d2ed212 100644 --- a/plugins/org-react/src/setupTests.ts +++ b/plugins/org-react/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/org/package.json b/plugins/org/package.json index b250b6e26f..ab44651fdd 100644 --- a/plugins/org/package.json +++ b/plugins/org/package.json @@ -61,7 +61,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/org/src/setupTests.ts b/plugins/org/src/setupTests.ts index b201a9c83e..28a35d2b06 100644 --- a/plugins/org/src/setupTests.ts +++ b/plugins/org/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/pagerduty/package.json b/plugins/pagerduty/package.json index a0eae611a0..4b9f5bf0e4 100644 --- a/plugins/pagerduty/package.json +++ b/plugins/pagerduty/package.json @@ -63,7 +63,6 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/pagerduty/src/setupTests.ts b/plugins/pagerduty/src/setupTests.ts index c1d649f2ad..963c0f188b 100644 --- a/plugins/pagerduty/src/setupTests.ts +++ b/plugins/pagerduty/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/periskop/package.json b/plugins/periskop/package.json index 7f818a54f3..12670bd1e4 100644 --- a/plugins/periskop/package.json +++ b/plugins/periskop/package.json @@ -52,7 +52,6 @@ "@types/luxon": "^3.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/periskop/src/setupTests.ts b/plugins/periskop/src/setupTests.ts index 2b5b615b19..7a459ed24e 100644 --- a/plugins/periskop/src/setupTests.ts +++ b/plugins/periskop/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/playlist/package.json b/plugins/playlist/package.json index 91fabe172e..2df75d327d 100644 --- a/plugins/playlist/package.json +++ b/plugins/playlist/package.json @@ -64,7 +64,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0", "swr": "^2.0.0" }, diff --git a/plugins/playlist/src/setupTests.ts b/plugins/playlist/src/setupTests.ts index 9bb3e72355..326d2ed212 100644 --- a/plugins/playlist/src/setupTests.ts +++ b/plugins/playlist/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/puppetdb/package.json b/plugins/puppetdb/package.json index 05b2d60180..b7eaa2316e 100644 --- a/plugins/puppetdb/package.json +++ b/plugins/puppetdb/package.json @@ -59,7 +59,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.1" }, "files": [ diff --git a/plugins/puppetdb/src/setupTests.ts b/plugins/puppetdb/src/setupTests.ts index 73dd8dce47..865308e634 100644 --- a/plugins/puppetdb/src/setupTests.ts +++ b/plugins/puppetdb/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/scaffolder/package.json b/plugins/scaffolder/package.json index d7fe15edd9..05375883ef 100644 --- a/plugins/scaffolder/package.json +++ b/plugins/scaffolder/package.json @@ -108,7 +108,6 @@ "@types/humanize-duration": "^3.18.1", "@types/json-schema": "^7.0.9", "@types/node": "^16.11.26", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/scaffolder/src/setupTests.ts b/plugins/scaffolder/src/setupTests.ts index 5499f969dc..8608e5b98e 100644 --- a/plugins/scaffolder/src/setupTests.ts +++ b/plugins/scaffolder/src/setupTests.ts @@ -15,7 +15,6 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; const { EventSourcePolyfill } = jest.requireMock('event-source-polyfill'); global.EventSource = EventSourcePolyfill; diff --git a/plugins/search/package.json b/plugins/search/package.json index 8ca485abd1..b546e2fb84 100644 --- a/plugins/search/package.json +++ b/plugins/search/package.json @@ -66,7 +66,6 @@ "@testing-library/react-hooks": "^8.0.0", "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", - "cross-fetch": "^3.1.5", "history": "^5.0.0", "msw": "^1.0.0" }, diff --git a/plugins/search/src/setupTests.ts b/plugins/search/src/setupTests.ts index b201a9c83e..28a35d2b06 100644 --- a/plugins/search/src/setupTests.ts +++ b/plugins/search/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/shortcuts/package.json b/plugins/shortcuts/package.json index bcbefa439a..8f24a4088e 100644 --- a/plugins/shortcuts/package.json +++ b/plugins/shortcuts/package.json @@ -52,7 +52,6 @@ "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", "@types/zen-observable": "^0.8.2", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/shortcuts/src/setupTests.ts b/plugins/shortcuts/src/setupTests.ts index 427556fe26..992b60d3a4 100644 --- a/plugins/shortcuts/src/setupTests.ts +++ b/plugins/shortcuts/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/splunk-on-call/package.json b/plugins/splunk-on-call/package.json index d2dcf1972a..c6b5c499f6 100644 --- a/plugins/splunk-on-call/package.json +++ b/plugins/splunk-on-call/package.json @@ -62,7 +62,6 @@ "@types/luxon": "^3.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "configSchema": "config.d.ts", diff --git a/plugins/splunk-on-call/src/setupTests.ts b/plugins/splunk-on-call/src/setupTests.ts index c1d649f2ad..963c0f188b 100644 --- a/plugins/splunk-on-call/src/setupTests.ts +++ b/plugins/splunk-on-call/src/setupTests.ts @@ -15,4 +15,3 @@ */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/stack-overflow/src/setupTests.ts b/plugins/stack-overflow/src/setupTests.ts index 9bb3e72355..326d2ed212 100644 --- a/plugins/stack-overflow/src/setupTests.ts +++ b/plugins/stack-overflow/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/stackstorm/package.json b/plugins/stackstorm/package.json index b71a8c8c66..0afececf86 100644 --- a/plugins/stackstorm/package.json +++ b/plugins/stackstorm/package.json @@ -58,7 +58,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/stackstorm/src/setupTests.ts b/plugins/stackstorm/src/setupTests.ts index 73dd8dce47..865308e634 100644 --- a/plugins/stackstorm/src/setupTests.ts +++ b/plugins/stackstorm/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/tech-insights/package.json b/plugins/tech-insights/package.json index 85207bd3f6..89225aeaf5 100644 --- a/plugins/tech-insights/package.json +++ b/plugins/tech-insights/package.json @@ -57,7 +57,6 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/tech-insights/src/setupTests.ts b/plugins/tech-insights/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/tech-insights/src/setupTests.ts +++ b/plugins/tech-insights/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/techdocs-addons-test-utils/package.json b/plugins/techdocs-addons-test-utils/package.json index 1080fbe200..be448725f7 100644 --- a/plugins/techdocs-addons-test-utils/package.json +++ b/plugins/techdocs-addons-test-utils/package.json @@ -63,7 +63,6 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/techdocs-addons-test-utils/src/setupTests.ts b/plugins/techdocs-addons-test-utils/src/setupTests.ts index 9bb3e72355..326d2ed212 100644 --- a/plugins/techdocs-addons-test-utils/src/setupTests.ts +++ b/plugins/techdocs-addons-test-utils/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/techdocs-module-addons-contrib/package.json b/plugins/techdocs-module-addons-contrib/package.json index 3db0a218e9..d03f82b07c 100644 --- a/plugins/techdocs-module-addons-contrib/package.json +++ b/plugins/techdocs-module-addons-contrib/package.json @@ -64,7 +64,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/techdocs-module-addons-contrib/src/setupTests.ts b/plugins/techdocs-module-addons-contrib/src/setupTests.ts index 9bb3e72355..326d2ed212 100644 --- a/plugins/techdocs-module-addons-contrib/src/setupTests.ts +++ b/plugins/techdocs-module-addons-contrib/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/todo/package.json b/plugins/todo/package.json index 530c8db36d..5ab36d9987 100644 --- a/plugins/todo/package.json +++ b/plugins/todo/package.json @@ -57,7 +57,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/todo/src/setupTests.ts b/plugins/todo/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/todo/src/setupTests.ts +++ b/plugins/todo/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/vault/package.json b/plugins/vault/package.json index 2b2ffae17c..707fa8477a 100644 --- a/plugins/vault/package.json +++ b/plugins/vault/package.json @@ -60,7 +60,6 @@ "@testing-library/user-event": "^14.0.0", "@types/node": "*", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/vault/src/setupTests.ts b/plugins/vault/src/setupTests.ts index b201a9c83e..28a35d2b06 100644 --- a/plugins/vault/src/setupTests.ts +++ b/plugins/vault/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill'; diff --git a/plugins/xcmetrics/package.json b/plugins/xcmetrics/package.json index 6d40083187..8f480f5290 100644 --- a/plugins/xcmetrics/package.json +++ b/plugins/xcmetrics/package.json @@ -52,7 +52,6 @@ "@types/luxon": "^3.0.0", "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", - "cross-fetch": "^3.1.5", "msw": "^1.0.0" }, "files": [ diff --git a/plugins/xcmetrics/src/setupTests.ts b/plugins/xcmetrics/src/setupTests.ts index fc6dbd98f8..7435872609 100644 --- a/plugins/xcmetrics/src/setupTests.ts +++ b/plugins/xcmetrics/src/setupTests.ts @@ -14,4 +14,3 @@ * limitations under the License. */ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill';