Skip to content

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

Merged
D4N14L merged 4 commits intomicrosoft:mainfrom
OlliMartin:main
Feb 6, 2025
Merged

[heft] Fix Heft-Jest-Plugin schema to match with configuration options#5097
D4N14L merged 4 commits intomicrosoft:mainfrom
OlliMartin:main

Conversation

@OlliMartin
Copy link
Contributor

Summary

There is a mismatch between the schema and the possible configuration documented here.
This PR extends the schema to match the plugin options.

Details

Extended the schema, mostly with information already available in the documentation.
Note that both debugHeftReporter and detectOpenHandles were not added to the schema on purpose, since IMO they do not belong in something that is set up statically (but should only be passed from the command line)
Happy to adjust that, if wanted.

How it was tested

I modified the schema json in one of my projects consuming rush (within node_modules) and verified the behaviour.

Impacted documentation

None; This PR aligns the code to the documentation.

@OlliMartin
Copy link
Contributor Author

@microsoft-github-policy-service agree

@D4N14L D4N14L enabled auto-merge (squash) February 6, 2025 22:13
@D4N14L D4N14L merged commit 2f69bbe into microsoft:main Feb 6, 2025
5 checks passed
@octogonz octogonz changed the title Extend Heft-Jest-Plugin schema to match with configuration options [heft] Fix Heft-Jest-Plugin schema to match with configuration options Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants