8000 Extend Heft-Jest-Plugin schema to match with configuration options (#… · Hashah1/rushstack@2f69bbe · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f69bbe

Browse files
authored
Extend Heft-Jest-Plugin schema to match with configuration options (microsoft#5097)
* Extend heft-jest-plugin configuration schema * Bump versions [skip ci] * PR comments * Change wrong parameter --------- Co-authored-by: Olli Martin <25843194+OlliMartin@users.noreply.github.com>
1 parent f57c7a2 commit 2f69bbe

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@rushstack/heft-jest-plugin",
5+
"comment": "Extend heft-jest-plugin json schema to match HeftJestConfiguration",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@rushstack/heft-jest-plugin"
10+
}

heft-plugins/heft-jest-plugin/src/schemas/heft-jest-plugin.schema.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
"additionalProperties": false,
88

99
"properties": {
10+
"configurationPath": {
11+
"title": "Path to Jest configuration file",
12+
"description": "If provided, this path will be used to load Jest configuration. Otherwise, Jest configuration will be loaded from \"<projectDir>/config/jest.config.json\".",
13+
"type": "string"
14+
},
1015
"disableConfigurationModuleResolution": {
1116
"title": "Disable Configuration Module Resolution",
1217
"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 @@
1823
"type": "boolean"
1924
}
2025
}
21-
}
26+
}

0 commit comments

Comments
 (0)
0