mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-07-29 21:34:35 +02:00
Merge remote-tracking branch 'msky/develop' into enh-be-test-vitest
This commit is contained in:
@@ -142,6 +142,7 @@ describe('CheckModeratorsActivityProcessorService', () => {
|
||||
|
||||
beforeEach(async () => {
|
||||
clock = lolex.install({
|
||||
// https://github.com/sinonjs/sinon/issues/2620
|
||||
toFake: Object.keys(lolex.timers).filter((key) => !['nextTick', 'queueMicrotask'].includes(key)) as lolex.FakeMethod[],
|
||||
now: new Date(baseDate),
|
||||
shouldClearNativeTimers: true,
|
||||
|
||||
Reference in New Issue
Block a user