From 1dfb6f8ae650492a1fc328dc78806a18fdd731ea Mon Sep 17 00:00:00 2001 From: Kyle Shockey Date: Tue, 9 Jan 2018 16:25:44 -0600 Subject: [PATCH] Modify the CBT proxy after each suite --- test/e2e/cbt-globals.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/cbt-globals.js b/test/e2e/cbt-globals.js index dccbd072..0d409604 100644 --- a/test/e2e/cbt-globals.js +++ b/test/e2e/cbt-globals.js @@ -11,7 +11,7 @@ module.exports = { specPath: "https://rawgit.com/swagger-api/swagger-ui/master/test/e2e/specs/petstore.json", visibleTimeout: 10000, - beforeEach: function(done) { + before: function(done) { console.log("Starting up tunnel") cbt.start({ username: process.env.CBT_USERNAME || "", @@ -24,7 +24,7 @@ module.exports = { } }) }, - afterEach: function(done) { + after: function(done) { console.log("Closing Down Tunnel") cbt.stop() done()