Skip to content

Commit 93ae204

Browse files
clydinjosephperrott
authored andcommitted
test(@angular-devkit/build-angular): correctly disable caching in unit-tests
The unit-tests where intended to not use build caching to better ensure test isolation. However, the configuration format was incorrect and did not disable the build caching.
1 parent 5a95888 commit 93ae204

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/angular_devkit/build_angular/test/hello-world-app/angular.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"version": 1,
44
"newProjectRoot": "./projects",
55
"cli": {
6-
"enabled": false
6+
"cache": {
7+
"enabled": false
8+
}
79
},
810
"schematics": {},
911
"targets": {},

packages/angular_devkit/build_angular/test/hello-world-lib/angular.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"$schema": "../../../../packages/angular_devkit/core/src/workspace/workspace-schema.json",
33
"version": 1,
44
"cli": {
5-
"enabled": false
5+
"cache": {
6+
"enabled": false
7+
}
68
},
79
"projects": {
810
"lib": {

0 commit comments

Comments
 (0)