mirror of
https://github.com/strapi/strapi.git
synced 2025-11-07 21:58:23 +00:00
remove extraneous strapi
This commit is contained in:
parent
e867e702c6
commit
0f3709da7c
@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user