mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
feat(server): setup api for selfhost deployment (#7569)
This commit is contained in:
@@ -7,7 +7,7 @@ import { createTestingModule } from './utils';
|
||||
let config: Config;
|
||||
let module: TestingModule;
|
||||
test.beforeEach(async () => {
|
||||
module = await createTestingModule();
|
||||
module = await createTestingModule({}, false);
|
||||
config = module.get(Config);
|
||||
});
|
||||
|
||||
@@ -33,4 +33,6 @@ test('should be able to override config', async t => {
|
||||
const config = module.get(Config);
|
||||
|
||||
t.is(config.server.host, 'testing');
|
||||
|
||||
await module.close();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user