Skip to content

Commit

Permalink
feat(@schematic/angular): enable ivy in tests
Browse files Browse the repository at this point in the history
If a project is generated with `enableIvy`, this commit adds the necessary configuration to `tsconfig.spec.json` to then run the tests with Ivy. Note that the CLI already does the correct work (runs `ngcc` and then runs the tests).
  • Loading branch information
cexbrayat committed Jul 11, 2019
1 parent 77f2af0 commit f1ba186
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"include": [
"src/**/*.spec.ts",
"src/**/*.d.ts"
]
]<% if (enableIvy) { %>,
"angularCompilerOptions": {
"enableIvy": true
}<% } %>
}

0 comments on commit f1ba186

Please sign in to comment.