diff --git a/lib/tests/run_tests.js b/lib/tests/run_tests.js index 2496c472..baaedd0b 100644 --- a/lib/tests/run_tests.js +++ b/lib/tests/run_tests.js @@ -81,7 +81,9 @@ module.exports = { mocha.addFile(file); mocha.suite.timeout(0); - mocha.suite.beforeEach('Wait for deploy', (done) => { + + mocha.suite.beforeAll('Wait for deploy', (done) => { + console.dir("runnning wait for deploy"); global.embark.onReady(() => { done(); });