I want to use globalSetup
and globalTeardown
from Jest with Detox so that the detox setup only happens one time but Detox seems to fail if the init is not beforeAll.
Any suggestions?
Jest version :22.0.4 Detox Version:6.0.4
config:
"globalSetup": "./setUpDetox.js",
"globalTeardown": "./tearDownDetox.js",