Repository navigation
Commit e570b52
committed
fix(@schematics/angular): suggest valid refactor command after Karma to Vitest migration
After migrating projects, the `migrate-karma-to-vitest` migration suggested running
`ng g @schematics/angular:refactor-jasmine-vitest <project_name>`. The schematic does
not accept a positional project argument, so the suggested command failed with
`Unknown argument`. Suggest the `--project <project_name>` option instead.1 parent 9469dcd commit e570b52
2 files changed
Lines changed: 18 additions & 1 deletion
File tree
- packages/schematics/angular/migrations/migrate-karma-to-vitest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
71 | 88 | | |
72 | 89 | | |
73 | 90 | | |
| |||
0 commit comments