mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Consistently clean up folder before stopping server
There seems to be some integration tests that sometimes fail on tests where the order is reversed. Hopefully this resolves the problem.
This commit is contained in:
@@ -53,11 +53,8 @@ void => {
|
||||
});
|
||||
|
||||
afterAll(async(): Promise<void> => {
|
||||
// Stop the server
|
||||
await app.stop();
|
||||
|
||||
// Execute the configured teardown
|
||||
await teardown();
|
||||
await app.stop();
|
||||
});
|
||||
|
||||
it('should not be affected by dangling locks.', async(): Promise<void> => {
|
||||
|
||||
Reference in New Issue
Block a user