change deploy to beforeAll, so it takes priority over the test before

This commit is contained in:
Iuri Matias 2018-06-07 19:57:56 -04:00
parent 8fa7357d07
commit c1590d0b48
1 changed files with 3 additions and 1 deletions

View File

@ -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();
});