Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented May 8, 2025

When using the application build system with the experimental unit-test vitest support, the watch option will now be passed through to the underlying test runner. This allows vitest to be used for watch-based test development. Incremental test file updates from the build system are also enabled in watch mode as well to remove the need to rewrite all output files on a rebuild.

When using the `application` build system with the experimental `unit-test`
vitest support, the `watch` option will now be passed through to the underlying
test runner. This allows vitest to be used for watch-based test development.
Incremental test file updates from the build system are also enabled in watch
mode as well to remove the need to rewrite all output files on a rebuild.
@clydin clydin added the target: rc This PR is targeted for the next release-candidate label May 8, 2025
@clydin clydin requested a review from alan-agius4 May 8, 2025 15:58
When using the experimental `unit-test` builder with `vitest` as the runner,
an error message will now be shown if the `vitest` package cannot be loaded.
The error message includes a suggestion to install the package if not present.
@clydin clydin removed the request for review from alan-agius4 May 8, 2025 16:14
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label May 8, 2025
@clydin clydin merged commit 48f84ca into angular:main May 8, 2025
31 checks passed
@clydin
Copy link
Member Author

clydin commented May 8, 2025

The changes were merged into the following branches: main, 20.0.x

@clydin clydin deleted the unit-test/vitest-watch branch May 8, 2025 16:57
@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 Jun 8, 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: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants