Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow to pass --update to vitest #32218

Open
@Christian24

Description

Command

test

Description

Vitest has an update command, that updates the visual regression screenshots and the snapshots. However, it is currently impossible to invoke this command, because the Angular CLI does not seem to pass it on to vitest. Just running vitest --update fails as well, because it is missing the vitest.config that Angular CLI seems to create in memory.

Describe the solution you'd like

Pass the --update flag vitest execution.

Describe alternatives you've considered

Maybe all arguments preceded by -- could be automatically passed on?

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /