fix test
This commit is contained in:
parent
dfc1410bb0
commit
29399e1ddc
|
@ -19,7 +19,7 @@ import Logger from '@/logger.js';
|
|||
describe('Chart', () => {
|
||||
const config = loadConfig();
|
||||
const appLockService = {
|
||||
getChartInsertLock: jest.fn().mockImplementation(() => Promise.resolve(() => {})),
|
||||
getChartInsertLock: () => () => Promise.resolve(() => {}),
|
||||
} as unknown as jest.Mocked<AppLockService>;
|
||||
|
||||
let db: DataSource | undefined;
|
||||
|
|
Loading…
Reference in New Issue