mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-23 02:17:11 +01: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