testpathpatterns
1 trace
- Option "testPathPattern" was replaced by "--testPathPatterns" (Jest 30 renamed the CLI flag)After upgrading to Jest 30, a script or tool (npm script, Nx, vscode-jest, CI command) that filters tests by path exits with code 1: Wrong assumption: jest --testPathPattern=foo (singular) still works. Fix: If the same…