You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
367 B

const detox = require('detox')
const config = require('../package.json').detox
/*
Example showing how to use Detox with required objects rather than globally exported.
e.g `const {device, expect, element, by, waitFor} = require('detox');`
*/
before(async () => {
await detox.init(config, { initGlobals: false })
})
after(async () => {
await detox.cleanup()
})