Skip to content

Commit

Permalink
test: update db connection close logic in e2e app factory
Browse files Browse the repository at this point in the history
  • Loading branch information
gobeam committed Jul 31, 2022
1 parent 5a4581f commit c84cb92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/app/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ describe('AppController (e2e)', () => {
});

afterAll(async () => {
await app.close();
if (app) await app.close();
});
});

0 comments on commit c84cb92

Please sign in to comment.