Creating new application without testing framework does not generate correct .vscode files #23360
Closed
1 task done
Labels
area: @schematics/angular
freq1: low
Only reported by a handful of users who observe it rarely
good first issue
help wanted
severity2: inconvenient
type: bug/fix
🐞 Bug report
Command (mark with an
x
)Is this a regression?
No
Description
When generating a new Angular project without the tests (
--skip-tests --minimal
), Angular CLI generates a.vscode
folder with incorrect JSON configurations for the tests that are not present on the project.🔬 Minimal Reproduction
ng new demo --skip-tests --minimal
❌ Current behavior
Here are the generated files:
.vscode/launch.json
.vscode/task.json
✔ Expected behavior
I should have these generated files instead:
.vscode/launch.json
.vscode/task.json
🌍 Your Environment
The text was updated successfully, but these errors were encountered: