[tests] move helpers require into mocha opts - makes them available in the module scope
This commit is contained in:
parent
c14e60017e
commit
a9bb8a2bd8
|
@ -1,6 +1,5 @@
|
|||
const detox = require('detox');
|
||||
const config = require('../package.json').detox;
|
||||
require('./../helpers');
|
||||
|
||||
before(async () => {
|
||||
await detox.init(config);
|
||||
|
|
|
@ -4,3 +4,4 @@
|
|||
--bail
|
||||
--exit
|
||||
--require bridge/platform/node
|
||||
--require ./helpers
|
||||
|
|
Loading…
Reference in New Issue