mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 05:55:12 +00:00
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', () => {
|
||||
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 a new issue