[build][ci] misc config

This commit is contained in:
Salakar
2018-09-04 18:48:28 +01:00
parent 91a99cfd71
commit 244c021e00
3 changed files with 6 additions and 19 deletions

View File

@@ -1,12 +1,6 @@
const detox = require('detox');
const config = require('../package.json').detox;
if (process.env.CIRCLECI) {
config['runner-config'] = 'e2e/mocha.ci.opts';
} else {
config['runner-config'] = 'e2e/mocha.local.opts';
}
before(async () => {
await detox.init(config);
// needs to be called before any usage of firestore

View File

@@ -1,7 +1,7 @@
--recursive
--timeout 120000
--reporter list
--slow 600
--reporter spec
--slow 1000
--bail
--exit
--require jet/platform/node