Skip to content

docs: clarify test builders include and exclude schema descriptions - #34204

Merged
clydin merged 2 commits into
angular:mainfrom
clydin:docs/unit-test-schema-source-root
Sep 29, 2026
Merged

clydin merged 2 commits into
angular:mainfrom
clydin:docs/unit-test-schema-source-root

Conversation

@clydin

@clydin clydin commented Sep 29, 2026

Copy link
Copy Markdown
Member

The schema descriptions for the "include" and "exclude" options in the test builders previously stated that glob patterns were relative to the project root. In practice, test discovery resolves patterns relative to the project source root. This updates the descriptions to accurately reflect that patterns are relative to the project source root.

The schema descriptions for the "include" and "exclude" options in the test
builders previously stated that glob patterns were relative to the project root.
In practice, test discovery resolves patterns relative to the project source root.
This updates the descriptions to accurately reflect that patterns are relative
to the project source root.
@clydin clydin added the target: patch This PR is targeted for the next patch release label Sep 29, 2026
@angular-robot angular-robot Bot added the area: docs Related to the documentation label Sep 29, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the schema descriptions for the Karma and unit-test builders to clarify that the include and exclude glob patterns are relative to the project source root rather than the project root. The feedback identifies minor grammatical issues in the updated descriptions and provides suggestions to improve readability.

Comment thread packages/angular/build/src/builders/karma/schema.json Outdated
Comment thread packages/angular_devkit/build_angular/src/builders/karma/schema.json Outdated

@alan-agius4 alan-agius4 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, once the descriptions are updated.

@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Sep 29, 2026
@clydin
clydin merged commit 462c7a7 into angular:main Sep 29, 2026
40 checks passed
@clydin

clydin commented Sep 29, 2026

Copy link
Copy Markdown
Member Author

This PR was merged into the repository. The changes were merged into the following branches:

@clydin
clydin deleted the docs/unit-test-schema-source-root branch September 29, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: docs Related to the documentation target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants