He estado tratando de ejecutar algunas pruebas de desintoxicación en una aplicación nativa de reacción. Estas pruebas habían estado funcionando hasta hace poco. Ahora recibo el error: el conjunto de pruebas no se pudo ejecutar
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¿Alguna idea sobre cómo solucionar este problema? Intenté actualizar jest, jest-expo y jest-environment, así como también detox.
Oye, al tener problemas similares, ¿has encontrado la causa del problema o sigue ocurriendo?