-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Labels
outdatedpriority: mediumMedium Priority (not high, not low priority)Medium Priority (not high, not low priority)scope: miscMisc issuesMisc issuestype: bug
Description
Current Behavior
Jest version 30 uses option named testPathPatterns
instead of testPathPattern
which is used in @nx/jest package. This prevents use from upgrading to latest version of jest.
Workaround is to force jest to stay at v29.7.0
Expected Behavior
@nx/jest should work with jest v30
GitHub Repo
No response
Steps to Reproduce
- Initialize nx project with jest. Upgrade jest to v30 and @nx/jest to v21.2.1.
- Try running a test from any lib.
- It fails with error saying
Option "testPathPattern" was replaced by "--testPathPatterns". "--testPathPatterns" is only available as a command-line option.
Nx Report
N/A
Failure Logs
Package Manager Version
No response
Operating System
- macOS
- Linux
- Windows
- Other (Please specify)
Additional Information
No response
Roozenboom, sstoneloveall, alexey-neyman-lmnd, DaSchTour, guypy and 2 more
Metadata
Metadata
Assignees
Labels
outdatedpriority: mediumMedium Priority (not high, not low priority)Medium Priority (not high, not low priority)scope: miscMisc issuesMisc issuestype: bug