Skip to content

Commit

Permalink
Close the server after tests finish
Browse files Browse the repository at this point in the history
  • Loading branch information
tirr-c committed Mar 21, 2024
1 parent 94540ec commit 6793c2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/_setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ test.before(async () => {
const koa = await createAPIServer(config, log, model);
app = koa.listen();
});
test.after(() => {
app.close();
});

0 comments on commit 6793c2f

Please sign in to comment.