1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: failing test

This commit is contained in:
Ivar Conradi Østhus 2021-09-10 12:07:04 +02:00
parent dff86fcfff
commit 5028bb6c60

View File

@ -48,13 +48,9 @@ jest.mock('./db', () => ({
},
}));
jest.mock(
'../migrator',
() =>
function () {
return Promise.resolve();
},
);
jest.mock('../migrator', () => ({
migrateDb: () => Promise.resolve(),
}));
jest.mock(
'./util/version',