mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Close server at end of tests.
This commit is contained in:
parent
907caa1e93
commit
7cae14acf7
@ -30,7 +30,7 @@ describe('An Express server with middleware', (): void => {
|
||||
server = factory.startServer(port);
|
||||
});
|
||||
|
||||
afterEach(async(): Promise<void> => {
|
||||
afterAll(async(): Promise<void> => {
|
||||
server.close();
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user