diff --git a/packages/schematics/angular/application/files/tsconfig.spec.json.template b/packages/schematics/angular/application/files/tsconfig.spec.json.template index 72aa864c8732..df547643751e 100644 --- a/packages/schematics/angular/application/files/tsconfig.spec.json.template +++ b/packages/schematics/angular/application/files/tsconfig.spec.json.template @@ -14,5 +14,8 @@ "include": [ "src/**/*.spec.ts", "src/**/*.d.ts" - ] + ]<% if (enableIvy) { %>, + "angularCompilerOptions": { + "enableIvy": true + }<% } %> }