Run setup beforeSuite
This commit is contained in:
parent
6f3b09275f
commit
34b9ccb56d
|
@ -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();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue