Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Apr 24, 2025

The runner option for the unit-test builder can now be set to karma. This leverages the existing karma builder for test execution. The karma build related options are derived from the provided buildTarget option instead of being manually specified within the unit-test builder. In other areas, the test execution is the same with the exceptions of specifying either a custom configuration file and/or a custom main file.

NOTE: The unit-test builder is considered experimental. Direct usage of the karma builder is currently recommended for production applications.

The `runner` option for the `unit-test` builder can now be set to `karma`.
This leverages the existing `karma` builder for test execution. The `karma`
build related options are derived from the provided `buildTarget` option
instead of being manually specified within the `unit-test` builder. In
other areas, the test execution is the same with the exceptions of specifying
either a custom configuration file and/or a custom main file.
@clydin clydin added state: WIP target: major This PR is targeted for the next major release labels Apr 24, 2025
@clydin clydin removed the state: WIP label Apr 28, 2025
@clydin clydin marked this pull request as ready for review April 29, 2025 16:00
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Apr 30, 2025
@clydin clydin merged commit 6200e94 into angular:main Apr 30, 2025
35 checks passed
@clydin clydin deleted the unit-test/karma-bridge branch April 30, 2025 11:03
@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 May 31, 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