Skip to content

Commit

Permalink
Unref test server on close.
Browse files Browse the repository at this point in the history
  • Loading branch information
onurtemizkan committed Jul 19, 2023
1 parent 6e918de commit 1b4fe75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/node-integration-tests/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ export class TestEnv {
this.server.closeAllConnections();
}

if (this.server.listening) {
this.server.unref();
}

resolve();
});
});
Expand Down

0 comments on commit 1b4fe75

Please sign in to comment.