Run setup beforeSuite

This commit is contained in:
Diego Mello 2022-04-08 11:02:16 -03:00
parent 6f3b09275f
commit 34b9ccb56d
1 changed files with 8 additions and 1 deletions

View File

@ -119,5 +119,12 @@ exports.config = {
ui: 'bdd',
timeout: 60000
},
specs: ['./tests/specs/**/*.js']
specs: ['./tests/specs/**/*.js'],
beforeSuite() {
const { setup } = require('../../e2e/helpers/data_setup');
before(async () => {
await setup();
});
}
};