Skip to content

[heft] Fix Heft-Jest-Plugin schema to match with configuration options #5097

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 6, 2025
Merged
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,10 @@
{
"changes": [
{
"packageName": "@rushstack/heft-jest-plugin",
"comment": "Extend heft-jest-plugin json schema to match HeftJestConfiguration",
"type": "patch"
}
],
"packageName": "@rushstack/heft-jest-plugin"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
"additionalProperties": false,

"properties": {
"configurationPath": {
"title": "Path to Jest configuration file",
"description": "If provided, this path will be used to load Jest configuration. Otherwise, Jest configuration will be loaded from \"<projectDir>/config/jest.config.json\".",
"type": "string"
},
"disableConfigurationModuleResolution": {
"title": "Disable Configuration Module Resolution",
"description": "If set to true, modules specified in the Jest configuration will be resolved using Jest default (rootDir-relative) resolution. Otherwise, modules will be resolved using Node module resolution.",
Expand All @@ -18,4 +23,4 @@
"type": "boolean"
}
}
}
}
Loading