Skip to content

Commit 678d932

Browse files
committed
test(auth): fix service close issue
1 parent 71e7e52 commit 678d932

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/testAuthMethods.test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,8 @@ describe('auth methods', async () => {
4040

4141
expect(() => config.getAuthMethods()).to.throw(Error, 'No authentication method enabled');
4242
});
43+
44+
after(async function () {
45+
await service.httpServer.close();
46+
});
4347
});

0 commit comments

Comments
 (0)