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