Title: Allow to pass --update to vitest · Issue #32218 · angular/angular-cli · GitHub
Open Graph Title: Allow to pass --update to vitest · Issue #32218 · angular/angular-cli
X Title: Allow to pass --update to vitest · Issue #32218 · angular/angular-cli
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 v...
Open Graph 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 Angu...
X 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 Angu...
Opengraph URL: https://github.com/angular/angular-cli/issues/32218
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow to pass --update to vitest","articleBody":"### Command\n\ntest\n\n### Description\n\nVitest 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. \n\n### Describe the solution you'd like\n\nPass the `--update` flag vitest execution. \n\n### Describe alternatives you've considered\n\nMaybe all arguments preceded by `--` could be automatically passed on? ","author":{"url":"https://github.com/Christian24","@type":"Person","name":"Christian24"},"datePublished":"2026-01-03T15:09:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/32218/angular-cli/issues/32218"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bc54a31f-fb8f-d1f9-0e7b-682dc28d8396 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7C8:3CDF6F:24DC6F8:32B5D8C:6964DBA5 |
| html-safe-nonce | ed9229baa42c98500817b1e07c56dd6022010701324ba176676a67f5506e9a37 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0M4OjNDREY2RjoyNERDNkY4OjMyQjVEOEM6Njk2NERCQTUiLCJ2aXNpdG9yX2lkIjoiNjAyMjc1Mjg1NjM3MDYxNTQxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | db9ff18ac2fb6d6ae3e1795de50cf7db0d5d7ae3a6f2d69e462fa34a44fbcb68 |
| hovercard-subject-tag | issue:3778145444 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/32218/issue_layout |
| twitter:image | https://opengraph.githubassets.com/db1e2984d02c920a6fd7706b85d1051cb64653a2a8d884b7096439186614fce2/angular/angular-cli/issues/32218 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/db1e2984d02c920a6fd7706b85d1051cb64653a2a8d884b7096439186614fce2/angular/angular-cli/issues/32218 |
| og:image:alt | 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 Angu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Christian24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5838582163a1256e5ebd5086b7e1dc5cea93d82086c9c8b1395fb50f6ddab28d |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8f997e7f84bd1db9537ba403fa68be0da3423594 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width