mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-02 14:36:49 +09:00
fix test
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user