Няма описание

12345678910111213141516171819
  1. const detox = require('detox');
  2. const config = require('../package.json').detox;
  3. const adapter = require('detox/runners/jest/adapter');
  4. jest.setTimeout(120000);
  5. jasmine.getEnv().addReporter(adapter);
  6. beforeAll(async () => {
  7. await detox.init(config);
  8. });
  9. beforeEach(async () => {
  10. await adapter.beforeEach();
  11. });
  12. afterAll(async () => {
  13. await adapter.afterAll();
  14. await detox.cleanup();
  15. });