remove most usages of node-fetch
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user