Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: remove delay before exit (#60)
Before my change, the mocha process would print test summary and then wait for around two seconds before exiting. In this change, I am adding a call to `server.closeAllConnections()` to make sure there are no pending HTTP connections blocking the exit. While changing the `after` hook, I also fixed it to `await` until the PG client is closed. Signed-off-by: Miroslav Bajtoš <[email protected]>
- Loading branch information