Command failed: jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' e2e
See original GitHub issueDescription
When i try to run detox test, I always getting an error:
$ detox test --configuration android
12:21:03.939 detox[10976] INFO: [test.js] DETOX_CONFIGURATION="android" DETOX_REPORT_SPECS=true DETOX_START_TIMESTAMP=1651224063897 DETOX_USE_CUSTOM_LOGGER=true jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' e2e
.)*$' was unexpected at this time.
C:\Users\olena\Documents\Simple2b\kryptr> "C:\Users\olena\Documents\Simple2b\kryptr\node_modules\.bin\\node.exe" "C:\Users\olena\Documents\Simple2b\kryptr\node_modules\.bin\\..\jest-expo\bin\jest.js" --config e2e/config.json --testNamePattern '((?!:ios:).)*$' e2e
12:21:04.073 detox[10976] ERROR: [cli.js] Command failed: jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' e2e
Your environment
Detox version: 19.6.5 React Native version: 0.67.3 Node version: 16.14.0 Device model: android.emulator :Pixel_5_API_30 OS: windows Test-runner (select one): jest-circus
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Detox attempts to run Android test when none is specified
... iOS test that I just ran. detox test node_modules/.bin/jest e2e --config=e2e/config.json --maxWorkers=1 --testNamePattern='^((?
Read more >Migration Guide | Detox
detox[43764] ERROR: [cli.js] Error: Command failed: jest --config e2e/config.json --testNamePattern "^((?!:android:).)*$" --maxWorkers 1 e2e ...
Read more >React Native end-to-end testing with Detox - LogRocket Blog
detox init -r jest detox[34202] INFO: [init.js] Created a file at path: e2e/config.json detox[34202] INFO: [init.js] Created a file at path: ...
Read more >setup-detox-jest.mo - Dev Standards
Running Detox (on iOS) requires the following: ... Xcode 8.3+ with Xcode command line tools ... Add a jest config file e2e/config.json :....
Read more >Setting Up Detox - ReactNativeTesting.io
Now, initialize Detox in your app to get some config files set up. We specify that we'll be using Jest as the test...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Which version of
jest-circus
are you using?I had a similar issue with the latest version so downgraded which fixed this for me:
"jest-circus": "27.5.1"
@d4vidi, I don’t plan to have this
testNamePattern
anymore in Detox 20. We can have skipping platform-specific tests in runtime via test environment.