File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed
packages/schematics/angular Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
+ import 'zone.js/testing';
2
3
3
4
import { getTestBed } from '@angular/core/testing';
4
5
import {
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ function addAppToWorkspaceFile(
211
211
builder : Builders . Karma ,
212
212
options : {
213
213
main : `${ sourceRoot } /test.ts` ,
214
- polyfills : [ 'zone.js' , 'zone.js/testing' ] ,
214
+ polyfills : [ 'zone.js' ] ,
215
215
tsConfig : `${ projectRoot } tsconfig.spec.json` ,
216
216
karmaConfig : `${ projectRoot } karma.conf.js` ,
217
217
inlineStyleLanguage,
Original file line number Diff line number Diff line change 1
1
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
2
+ import 'zone.js/testing';
2
3
3
4
import { getTestBed } from '@angular/core/testing';
4
5
import {
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ function addLibToWorkspaceFile(
110
110
options : {
111
111
main : `${ projectRoot } /src/test.ts` ,
112
112
tsConfig : `${ projectRoot } /tsconfig.spec.json` ,
113
- polyfills : [ 'zone.js' , 'zone.js/testing' ] ,
113
+ polyfills : [ 'zone.js' ] ,
114
114
karmaConfig : `${ projectRoot } /karma.conf.js` ,
115
115
} ,
116
116
} ,
You can’t perform that action at this time.
0 commit comments