diff --git a/packages/schematics/angular/refactor/jasmine-vitest/schema.json b/packages/schematics/angular/refactor/jasmine-vitest/schema.json index 5b23618cbc48..7868568d97b6 100644 --- a/packages/schematics/angular/refactor/jasmine-vitest/schema.json +++ b/packages/schematics/angular/refactor/jasmine-vitest/schema.json @@ -16,9 +16,10 @@ }, "project": { "type": "string", - "description": "The name of the project where the tests should be refactored. If not specified, the CLI will determine the project from the current directory.", + "description": "The name of the project where the tests should be refactored. If not specified, the only project of the workspace is used.", "$default": { - "$source": "projectName" + "$source": "argv", + "index": 0 } }, "verbose": {