1
0
forked from mirror/misskey
This commit is contained in:
syuilo 2023-02-22 15:12:21 +09:00
parent dfc1410bb0
commit 29399e1ddc

View File

@ -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;