[tests] move helpers require into mocha opts - makes them available in the module scope

This commit is contained in:
Salakar 2018-04-13 13:46:18 +01:00
parent c14e60017e
commit a9bb8a2bd8
2 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,5 @@
const detox = require('detox');
const config = require('../package.json').detox;
require('./../helpers');
before(async () => {
await detox.init(config);

View File

@ -4,3 +4,4 @@
--bail
--exit
--require bridge/platform/node
--require ./helpers