Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1.1K
Visualizações
Detox test failed to run: Cannot read properties of undefined (reading 'testEnvironmentOptions')

I've been trying to run some detox tests on a react native app. These tests had been working up till recently. Now I am getting the error: Test suite failed to run

TypeError: Cannot read properties of undefined (reading 'testEnvironmentOptions')

  11 |     // Can be safely removed, if you are content with the default value (=300000ms)
  12 |     this.initTimeout = 30000000;
> 13 |
     | ^
  14 |     // This takes care of generating status logs on a per-spec basis. By default, Jest only reports at file-level.
  15 |     // This is strictly optional.
  16 |     this.registerListeners({

  at new NodeEnvironment (../node_modules/jest-environment-node/build/index.js:96:49)
  at new DetoxCircusEnvironment (../node_modules/detox/runners/jest-circus/environment.js:27:5)
  at CustomDetoxEnvironment._createSuperInternal (environment.js:13:311)
  at new CustomDetoxEnvironment (environment.js:31:20)
  at async TestScheduler.scheduleTests (../node_modules/@jest/core/build/TestScheduler.js:333:13)
  at async runJest (../node_modules/@jest/core/build/runJest.js:404:19)

14:09:34.503 detox[115576] ERROR: [cli.js] Command failed: jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 e2e

Any ideas on how to fix this? I've tried updating jest, jest-expo, and jest-environment, as well as detox itself.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Hey, having similar issues have you found the cause of the issue or is it still occurring ?

about 4 years ago · Khush Patel Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda