Skip to content

refactor(@angular/build): make runner optional in unit-test builder#31549

Merged
clydin merged 1 commit intoangular:mainfrom
clydin:unit-test/optional-runner-option
Oct 22, 2025
Merged

refactor(@angular/build): make runner optional in unit-test builder#31549
clydin merged 1 commit intoangular:mainfrom
clydin:unit-test/optional-runner-option

Conversation

@clydin
Copy link
Member

@clydin clydin commented Oct 21, 2025

The runner option in the unit-test builder is now optional to streamline the user configuration.

If the runner option is not provided, the builder now defaults to using the vitest value.

The builder's schema has been updated to reflect this change by removing runner from the required properties and updating its entry to document the new default behavior.

@clydin clydin added the target: major This PR is targeted for the next major release label Oct 21, 2025
@clydin clydin force-pushed the unit-test/optional-runner-option branch from 6aeb903 to a99ad69 Compare October 21, 2025 20:13
The `runner` option in the `unit-test` builder is now optional to streamline the user configuration.

If the `runner` option is not provided, the builder now defaults to using the `vitest` value.

The builder's schema has been updated to reflect this change by removing `runner` from the required properties and updating its entry to document the new default behavior.
@clydin clydin force-pushed the unit-test/optional-runner-option branch from a99ad69 to ba7851f Compare October 21, 2025 20:22
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 21, 2025
@clydin clydin added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 22, 2025
@clydin clydin merged commit 9f59b77 into angular:main Oct 22, 2025
32 of 33 checks passed
@clydin clydin deleted the unit-test/optional-runner-option branch October 22, 2025 01:11
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants