Skip to content

Commit

Permalink
close server after tests run
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Aug 7, 2020
1 parent 71dce90 commit 039d487
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,9 @@ export default function slackTest({ getService }: FtrProviderContext) {
'Action type .slack is disabled because your basic license does not support it. Please upgrade your license.',
});
});

after(() => {
slackServer.close();
});
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,9 @@ export default function slackTest({ getService }: FtrProviderContext) {
expect(result.message).to.match(/error posting a slack message, retry later/);
expect(result.retry).to.equal(true);
});

after(() => {
slackServer.close();
});
});
}

0 comments on commit 039d487

Please sign in to comment.