react-native-navigation的迁移库

init.js 291B

123456789101112
  1. require('babel-polyfill'); // eslint-disable-line import/no-extraneous-dependencies
  2. const detox = require('detox');
  3. const config = require('../package.json').detox;
  4. before(async () => {
  5. await detox.init(config, { launchApp: false });
  6. });
  7. after(async () => {
  8. await detox.cleanup();
  9. });