remove extraneous strapi

This commit is contained in:
Ben Irvin 2022-11-17 21:51:12 +01:00
parent e867e702c6
commit 0f3709da7c

View File

@ -7,10 +7,6 @@ import {
ITransferEngineOptions, ITransferEngineOptions,
} from '../../../types'; } from '../../../types';
import { getStrapiFactory } from '../../__tests__/test-utils';
const strapiFactory = getStrapiFactory({});
const providerStages = ['bootstrap', 'close']; const providerStages = ['bootstrap', 'close'];
const getMockSourceStream = (data: Iterable<any> = ['foo', 'bar']) => { const getMockSourceStream = (data: Iterable<any> = ['foo', 'bar']) => {
@ -224,14 +220,11 @@ describe('Transfer engine', () => {
exclude: [], exclude: [],
} as ITransferEngineOptions; } as ITransferEngineOptions;
let strapi = strapiFactory();
let completeSource; let completeSource;
let completeDestination; let completeDestination;
beforeEach(() => { beforeEach(() => {
jest.restoreAllMocks(); jest.restoreAllMocks();
strapi = strapiFactory();
completeSource = createSource(); completeSource = createSource();
completeDestination = createDestination(); completeDestination = createDestination();
}); });