react-native-navigation的迁移库

init.js 314B

123456789101112131415161718
  1. /*eslint-disable*/
  2. const detox = require('detox');
  3. const config = require('../package.json').detox;
  4. before(function(done) {
  5. this.timeout(120000);
  6. detox.config(config);
  7. detox.start(done);
  8. });
  9. afterEach(function(done) {
  10. detox.waitForTestResult(done);
  11. });
  12. after(function(done) {
  13. detox.cleanup(done);
  14. });