File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ import 'zone.js/dist/zone';
66import 'zone.js/dist/long-stack-trace-zone' ;
77import 'zone.js/dist/proxy' ;
88import 'zone.js/dist/sync-test' ;
9- // import 'zone.js/dist/jasmine-patch';
9+ < % _ if ( filters . jasmine ) { - % >
10+ import 'zone.js/dist/jasmine-patch' ;
11+ < % _ } - % >
1012import 'zone.js/dist/async-test';
1113import 'zone.js/dist/fake-async-test';
1214
@@ -23,10 +25,12 @@ import browser from '@angular/platform-browser-dynamic/testing';
2325
2426TestBed.initTestEnvironment(browser.BrowserDynamicTestingModule, browser.platformBrowserDynamicTesting());
2527
28+ < % _ if ( filters . mocha ) { - % >
2629var hook = new Mocha.Hook('Modified Angular beforeEach Hook', function() {
2730 getTestBed ( ) . resetTestingModule ( ) ;
2831} );
2932
3033hook.ctx = mocha.suite.ctx;
3134hook.parent = mocha.suite;
3235mocha.suite._beforeEach = [hook];
36+ < % _ } - % >
You can’t perform that action at this time.
0 commit comments