File tree 1 file changed +5
-1
lines changed
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';
6
6
import 'zone.js/dist/long-stack-trace-zone' ;
7
7
import 'zone.js/dist/proxy' ;
8
8
import 'zone.js/dist/sync-test' ;
9
- // import 'zone.js/dist/jasmine-patch';
9
+ < % _ if ( filters . jasmine ) { - % >
10
+ import 'zone.js/dist/jasmine-patch' ;
11
+ < % _ } - % >
10
12
import 'zone.js/dist/async-test';
11
13
import 'zone.js/dist/fake-async-test';
12
14
@@ -23,10 +25,12 @@ import browser from '@angular/platform-browser-dynamic/testing';
23
25
24
26
TestBed.initTestEnvironment(browser.BrowserDynamicTestingModule, browser.platformBrowserDynamicTesting());
25
27
28
+ < % _ if ( filters . mocha ) { - % >
26
29
var hook = new Mocha.Hook('Modified Angular beforeEach Hook', function() {
27
30
getTestBed ( ) . resetTestingModule ( ) ;
28
31
} );
29
32
30
33
hook.ctx = mocha.suite.ctx;
31
34
hook.parent = mocha.suite;
32
35
mocha.suite._beforeEach = [hook];
36
+ < % _ } - % >
You can’t perform that action at this time.
0 commit comments