mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
test(config): fix IDEA debugging
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
const DEBUG = process.argv.includes('--reporters');
|
||||
|
||||
/** @type{import('jest-allure2-reporter').ReporterOptions} */
|
||||
const jestAllure2ReporterOptions = {
|
||||
testCase: {
|
||||
@@ -14,7 +16,7 @@ module.exports = {
|
||||
setupFiles: [
|
||||
'<rootDir>/__tests__/setupJest.js'
|
||||
],
|
||||
testEnvironment: 'jest-allure2-reporter/environment-node',
|
||||
testEnvironment: DEBUG ? 'node' : 'jest-allure2-reporter/environment-node',
|
||||
testRunner: 'jest-circus/runner',
|
||||
roots: [
|
||||
'node_modules',
|
||||
|
||||
Reference in New Issue
Block a user