diff --git a/common/changes/@rushstack/heft-jest-plugin/bugfix-IncorrectHeftJsonPluginSchema_2025-02-06-21-03.json b/common/changes/@rushstack/heft-jest-plugin/bugfix-IncorrectHeftJsonPluginSchema_2025-02-06-21-03.json new file mode 100644 index 00000000000..3d6202fcf3e --- /dev/null +++ b/common/changes/@rushstack/heft-jest-plugin/bugfix-IncorrectHeftJsonPluginSchema_2025-02-06-21-03.json @@ -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" +} \ No newline at end of file diff --git a/heft-plugins/heft-jest-plugin/src/schemas/heft-jest-plugin.schema.json b/heft-plugins/heft-jest-plugin/src/schemas/heft-jest-plugin.schema.json index 4b11df53547..a7abe910c37 100644 --- a/heft-plugins/heft-jest-plugin/src/schemas/heft-jest-plugin.schema.json +++ b/heft-plugins/heft-jest-plugin/src/schemas/heft-jest-plugin.schema.json @@ -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 \"/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.", @@ -18,4 +23,4 @@ "type": "boolean" } } -} +} \ No newline at end of file