File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed
packages/schematics/angular/application Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -276,19 +276,20 @@ function addAppToWorkspaceFile(
276276 browserTarget : `${ options . name } :build` ,
277277 } ,
278278 } ,
279- test : options . minimal
280- ? undefined
281- : {
282- builder : Builders . Karma ,
283- options : {
284- polyfills : [ 'zone.js' , 'zone.js/testing' ] ,
285- tsConfig : `${ projectRoot } tsconfig.spec.json` ,
286- inlineStyleLanguage,
287- assets : [ `${ sourceRoot } /favicon.ico` , `${ sourceRoot } /assets` ] ,
288- styles : [ `${ sourceRoot } /styles.${ options . style } ` ] ,
289- scripts : [ ] ,
279+ test :
280+ options . minimal || options . skipTests
281+ ? undefined
282+ : {
283+ builder : Builders . Karma ,
284+ options : {
285+ polyfills : [ 'zone.js' , 'zone.js/testing' ] ,
286+ tsConfig : `${ projectRoot } tsconfig.spec.json` ,
287+ inlineStyleLanguage,
288+ assets : [ `${ sourceRoot } /favicon.ico` , `${ sourceRoot } /assets` ] ,
289+ styles : [ `${ sourceRoot } /styles.${ options . style } ` ] ,
290+ scripts : [ ] ,
291+ } ,
290292 } ,
291- } ,
292293 } ,
293294 } ;
294295
You can’t perform that action at this time.
0 commit comments