Breaking changes
- If you see
Cannot find module 'jest-cli/build/cli/args'
error, you should addjest-cli
to yourpackage.json
'sdevDependencies
and re-runnpm install
, e.g.:
"devDependencies": {
"jest": "25.5.4",
+ "jest-cli": "25.5.4",
- If you see an error similar to
'jest' is not recognized as an internal or external command
, please upgrade yourdetox-cli
global package:
npm -g install detox-cli
See some extra details in the Migration Guide.
Features
CLI
- New -R, --retries option (#2269, by @noomorph) — supported only for the new Jest Circus integration.
If you are still usingjest-jasmine
or the legacy Jest Circus integration, follow the Jest setup guide to hop aboard.