Closed connectdotz closed 3 months ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
src/test-provider/test-item-data.ts | 3 | 96.79% | ||
<!-- | Total: | 3 | --> |
Totals | |
---|---|
Change from base Build 9377054538: | -0.06% |
Covered Lines: | 4005 |
Relevant Lines: | 4014 |
Totals | |
---|---|
Change from base Build 9377054538: | -0.006% |
Covered Lines: | 4008 |
Relevant Lines: | 4014 |
Apparently, this failed for Windows users, see jestjs/jest#15109
This bug is fixed (jestjs/jest#15235) and deployed in jest@30.0.0-alpha.6. 👏 We can merge this in now.
🎉 Thank you for your persistence @connectdotz !
Hey everyone,
The fix is out! Check out the pre-release v6.3.0-next and let us know if you run into any issues.
This PR mainly added the ability to auto-switch the command-line option
--TestPathPattern
to--TestPathPatterns
when Jest 30 is detected.We detect Jest 30 by looking for the error string pattern during the Jest run. Once detected, the
jest.useJest30
option is set accordingly and the process will be re-run with the correct options.Users can also set this option themselves just like any jest customization.
Resolve #1109