remove most usages of node-fetch

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-11-29 16:54:28 +01:00
parent f19c16fad2
commit 5c9cc05eee
75 changed files with 93 additions and 163 deletions
@@ -29,7 +29,6 @@ import {
} from '@backstage/config-loader';
import { HttpResponse, http, passthrough } from 'msw';
import { setupServer } from 'msw/node';
import fetch from 'node-fetch';
// this test is stored in its own file to work around the mocked
// http-proxy-middleware module used in the main test file
@@ -25,7 +25,6 @@ import { ResponseError } from '@backstage/errors';
import { JsonObject } from '@backstage/types';
import { HttpResponse, http, passthrough } from 'msw';
import { setupServer } from 'msw/node';
import fetch from 'node-fetch';
// this test is stored in its own file to work around the mocked
// http-proxy-middleware module used in the main test file