Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. afterAll(async done => {
  2. try {
  3. await dbConnection.end();
  4. logger.close();
  5. server.close(done);
  6. } catch (error) {
  7. // eslint-disable-next-line no-console
  8. console.log("Something went wrong at 'afterAll'");
  9. throw error;
  10. }
  11. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement