1234567891011121314151617181920 |
- require('babel-polyfill');
- const detox = require('detox');
-
- before(async () => {
- const detoxConfig = {
- configurations: {
- ios: {
- binaryPath: process.env.detoxAppBuildPath,
- type: 'ios.simulator',
- name: 'iPhone 7'
- }
- }
- };
- await detox.init(detoxConfig);
- });
-
- after(async () => {
- await detox.cleanup();
- });
|