react-native-navigation的迁移库

init.js 397B

1234567891011121314151617181920
  1. /*eslint-disable*/
  2. require('babel-polyfill');
  3. const detox = require('detox');
  4. const detoxConfig = require('../package.json').detox;
  5. detoxConfig['ios-simulator'].app = process.env.detoxAppBuildPath;
  6. before(function (done) {
  7. detox.config(detoxConfig);
  8. detox.start(done);
  9. });
  10. afterEach(function (done) {
  11. detox.waitForTestResult(done);
  12. });
  13. after(function (done) {
  14. detox.cleanup(done);
  15. });