Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- afterAll(async done => {
- try {
- await dbConnection.end();
- logger.close();
- server.close(done);
- } catch (error) {
- // eslint-disable-next-line no-console
- console.log("Something went wrong at 'afterAll'");
- throw error;
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement