Merge branch 'ap-susp-update' into remote-suspend

This commit is contained in:
tamaina 2025-07-23 23:20:27 +09:00
commit 9c04952ebc
2 changed files with 0 additions and 6 deletions

View File

@ -74,13 +74,10 @@ async function startControllerEndpoints(port = config.port + 1000) {
});
fastify.post<{ Body: { key?: string, value?: string } }>('/env-reset', async (req, res) => {
console.log('env-reset');
process.env = JSON.parse(originEnv);
await serverService.dispose();
console.log('ServerService application closed.');
await app.close();
console.log('MainModule application closed.');
await killTestServer();
@ -91,7 +88,6 @@ async function startControllerEndpoints(port = config.port + 1000) {
});
serverService = app.get(ServerService);
await serverService.launch();
console.log('application launched.');
res.code(200).send({ success: true });
});

View File

@ -7,7 +7,5 @@ import { initTestDb, sendEnvResetRequest } from './utils.js';
beforeAll(async () => {
await initTestDb(false);
console.log('Test database initialized.');
await sendEnvResetRequest();
console.log('Environment reset completed.');
});