Remove unused worker object

Signed-off-by: Lucas Guarisco <lucas.guarisco@gmail.com>
This commit is contained in:
Lucas Guarisco
2023-03-01 15:39:21 -03:00
parent bb4d8f4298
commit 0fc1a48c0d
@@ -18,8 +18,6 @@ import { ConfigReader } from '@backstage/config';
import { JsonObject } from '@backstage/types';
import { getVoidLogger } from '../logging';
import { DefaultReadTreeResponseFactory } from './tree';
import { setupServer } from 'msw/node';
import { setupRequestMockHandlers } from '@backstage/backend-test-utils';
import { DEFAULT_REGION, AwsS3UrlReader, parseUrl } from './AwsS3UrlReader';
import {
AwsS3Integration,
@@ -130,8 +128,6 @@ describe('parseUrl', () => {
describe('AwsS3UrlReader', () => {
const s3Client = mockClient(S3Client);
const worker = setupServer();
setupRequestMockHandlers(worker);
const createReader = (config: JsonObject): UrlReaderPredicateTuple[] => {
return AwsS3UrlReader.factory({