Skip to content

Commit

Permalink
ci: fix node 16 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BlairCurrey committed Mar 18, 2024
1 parent 440eba2 commit cc44cf3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/createKoaMiddleware.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,7 @@ describe('Integration', () => {
let server: Server;

beforeEach(async () => (server = app.listen(3098)));
afterEach(async () => {
if (server?.listening) {
await server.closeAllConnections();
await server.close();
}
});
afterEach(async () => await server.close());

describe('Can call tRPC server endpoints succesfully', () => {
it('GET /users', async () => {
Expand Down

0 comments on commit cc44cf3

Please sign in to comment.