Skip to content

docs: mention Vitest instead of Karma in README template of schematic… - #33573

Open
guisalmeida wants to merge 1 commit into
angular:mainfrom
guisalmeida:guisalmeida-patch-1
Open

docs: mention Vitest instead of Karma in README template of schematic…#33573
guisalmeida wants to merge 1 commit into
angular:mainfrom
guisalmeida:guisalmeida-patch-1

Conversation

@guisalmeida

Copy link
Copy Markdown

PR Checklist

Please check to confirm your PR fulfils the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Since version Angular 21, Vitest is the default test runner.

Issue Number: N/A

What is the new behavior?

Mention Vitest instead of Karma.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Found a similar change in #31916, but it seems this part in the schematic/library files was forgotten to change as well.

@angular-robot angular-robot Bot added the area: docs Related to the documentation label Jul 15, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the library README template to reference the Vitest test runner instead of Karma. The review feedback correctly points out that since Karma is still supported as a fallback, hardcoding Vitest will lead to incorrect documentation. It is recommended to dynamically display the test runner name based on the template context.

Comment thread packages/schematics/angular/library/files/README.md.template
@alan-agius4 alan-agius4 added the target: patch This PR is targeted for the next patch release label Aug 18, 2026

@alan-agius4 alan-agius4 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your contribution

@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: docs Related to the documentation target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants