Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Dec 11, 2025

This change improves the handling of the Vitest UI option in the unit test builder. The ui option is now automatically disabled when running in a CI environment to prevent issues with automated pipelines. Additionally, the ui property is only included in the Vitest configuration if it's explicitly a boolean, making the option handling more robust.

Removing the default value for ui from the schema allows the option to be overridden by custom runner configuration files when not explicitly defined in angular.json or via the command line.

This change improves the handling of the Vitest UI option in the unit test builder. The `ui` option is now automatically disabled when running in a CI environment to prevent issues with automated pipelines. Additionally, the `ui` property is only included in the Vitest configuration if it's explicitly a boolean, making the option handling more robust.

Removing the default value for `ui` from the schema allows the option to be overridden by custom runner configuration files when not explicitly defined in `angular.json` or via the command line.
@clydin clydin added the target: patch This PR is targeted for the next patch release label Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: @angular/build target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant