From c1590d0b4880ecb977e816944c84049a55caca2c Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Thu, 7 Jun 2018 19:57:56 -0400 Subject: [PATCH] change deploy to beforeAll, so it takes priority over the test before --- lib/tests/run_tests.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); });