diff --git a/twake/backend/node/test/e2e/setup/index.ts b/twake/backend/node/test/e2e/setup/index.ts index 25954dd8dd..ab54f49bb1 100644 --- a/twake/backend/node/test/e2e/setup/index.ts +++ b/twake/backend/node/test/e2e/setup/index.ts @@ -83,7 +83,7 @@ export async function init( }; } - testPlatform.app.server.disconnect(); + testPlatform.app.server.close(); testPlatform.currentUser = { id: uuidv1() }; testPlatform.workspace = { @@ -113,7 +113,7 @@ export async function init( async function tearDown(): Promise { if (testPlatform) { - testPlatform.app.server.disconnect(); + testPlatform.app.server.close(); //await testPlatform.pubsub.stop(); } }