[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 detox = require('detox');
|
||||||
const config = require('../package.json').detox;
|
const config = require('../package.json').detox;
|
||||||
require('./../helpers');
|
|
||||||
|
|
||||||
before(async () => {
|
before(async () => {
|
||||||
await detox.init(config);
|
await detox.init(config);
|
||||||
|
|
|
@ -4,3 +4,4 @@
|
||||||
--bail
|
--bail
|
||||||
--exit
|
--exit
|
||||||
--require bridge/platform/node
|
--require bridge/platform/node
|
||||||
|
--require ./helpers
|
||||||
|
|
Loading…
Reference in New Issue