mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
test(server): avoid progress get hold after tests finished (#5522)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import ava, { type TestFn } from 'ava';
|
||||
|
||||
import { CacheModule } from '../src/cache';
|
||||
import { ConfigModule } from '../src/config';
|
||||
import { SessionModule, SessionService } from '../src/session';
|
||||
|
||||
@@ -19,6 +20,7 @@ test.beforeEach(async t => {
|
||||
enabled: false,
|
||||
},
|
||||
}),
|
||||
CacheModule,
|
||||
SessionModule,
|
||||
],
|
||||
}).compile();
|
||||
|
||||
Reference in New Issue
Block a user