Skip to content

Commit

Permalink
Fix server disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
RomaricMourgues committed Feb 24, 2022
1 parent 8717885 commit 6d3859f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions twake/backend/node/test/e2e/setup/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export async function init(
};
}

testPlatform.app.server.disconnect();
testPlatform.app.server.close();

testPlatform.currentUser = { id: uuidv1() };
testPlatform.workspace = {
Expand Down Expand Up @@ -113,7 +113,7 @@ export async function init(

async function tearDown(): Promise<void> {
if (testPlatform) {
testPlatform.app.server.disconnect();
testPlatform.app.server.close();
//await testPlatform.pubsub.stop();
}
}
Expand Down

0 comments on commit 6d3859f

Please sign in to comment.