mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
fixing some tests
This commit is contained in:
parent
3ec0b91013
commit
d02f411c96
@ -6,6 +6,13 @@ afterEach(() => {
|
|||||||
jest.clearAllMocks();
|
jest.clearAllMocks();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
jest.mock('../restore', () => {
|
||||||
|
return {
|
||||||
|
__esModule: true,
|
||||||
|
...jest.requireActual('../restore'),
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
describe('Local Strapi Source Destination', () => {
|
describe('Local Strapi Source Destination', () => {
|
||||||
describe('Bootstrap', () => {
|
describe('Bootstrap', () => {
|
||||||
test('Should not have a defined Strapi instance if bootstrap has not been called', () => {
|
test('Should not have a defined Strapi instance if bootstrap has not been called', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user