Skip to content

Commit

Permalink
feat(WEB-2070): WEB-2070 added a timer for test setup conn close
Browse files Browse the repository at this point in the history
  • Loading branch information
sairam459 committed Feb 21, 2024
1 parent 6a95d2a commit 6ff3b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ beforeAll(async () => {
}, 60 * 60 * 1000); // disable timeout so it doesn't start tests if NestJS doesn't start

afterAll(async () => {
setTimeout(async ()=>{
setTimeout(async () => {
if (global.app) {
await Promise.all([global.app.close()]);
}
}, 2000)
}, 2000);
});

0 comments on commit 6ff3b2f

Please sign in to comment.