Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@rushstack/heft-jest-plugin",
"comment": "Fix watch mode (`heft test-watch`) failing on Jest 30 with \"Cannot find module '@jest/core/build/watch.js'\". Heft now drives watch mode and reruns the test suite through Jest's public `runCLI` API when files under the Jest `roots` change, ignoring paths that match `modulePathIgnorePatterns` or `watchPathIgnorePatterns`. Each rerun runs the full test suite, and Jest's interactive watch keys and `watchPlugins` are no longer used in watch mode.",
"type": "patch"
}
],
"packageName": "@rushstack/heft-jest-plugin",
"email": "95686816+farzaneh-wm@users.noreply.github.com"
}
2 changes: 1 addition & 1 deletion heft-plugins/heft-jest-plugin/heft-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"longName": "--find-related-tests",
"parameterKind": "stringList",
"argumentName": "SOURCE_FILE",
"description": "Find and run the tests that cover a source file that was passed in as an argument. This corresponds to the \"--findRelatedTests\" parameter in Jest's documentation. This parameter is not compatible with watch mode."
"description": "Find and run the tests that cover a source file that was passed in as an argument. This corresponds to the \"--findRelatedTests\" parameter in Jest's documentation. In watch mode, the same related tests are run again whenever the test inputs change."
},
{
"longName": "--log-heap-usage",
Expand Down
Loading
Loading