react-native-navigation的迁移库

init.js 340B

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