Skip to content

Karma is deprecated in Angular 20 - support Web Test Runner as direct replacement? #1928

@vzakharov-rxnt

Description

@vzakharov-rxnt

Is your feature request related to a problem? Please describe.
Angular 20 deprecated karma, support for karma will be removed in Angular 22. The closest solution to karma seems to be Web Test Runner, but custom builders don't support it.

Describe the solution you'd like
Custom builders should add support for Web Test Runner to enable smooth transition off karma.

Describe alternatives you've considered
Jest, but it does not provide visual debugging, to the best of my knowledge, WTR is the only solution on the market that provides it. Debugging unit tests in complex projects without a visual debugger is a nightmare.

Additional context
If support for WTR is not possible or not planned in the near future, we might need to address a lot of tech debt to remove custom webpack configuration in our app. There is so much tech debt that we might as well forever stay on Angular 20/21.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions