File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,9 @@ import 'babel-polyfill';
55import 'zone.js/dist/zone' ;
66import 'zone.js/dist/long-stack-trace-zone' ;
77import 'zone.js/dist/proxy' ;
8- import 'zone.js/dist/sync-test' ;
9- < % _ if ( filters . jasmine ) { - % >
10- import 'zone.js/dist/jasmine-patch' ;
11- < % _ } - % >
8+ import 'zone.js/dist/sync-test' ; < % _ if ( filters . jasmine ) { % >
9+ import 'zone.js/dist/jasmine-patch' ; < % } % > < % _ if ( filters . mocha ) { % >
10+ import 'zone.js/dist/mocha-patch' ; < % } % >
1211import 'zone.js/dist/async-test';
1312import 'zone.js/dist/fake-async-test';
1413
@@ -28,12 +27,3 @@ import {
2827
2928TestBed.initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());
3029
31- < % _ if ( filters . mocha ) { - % >
32- var hook = new Mocha.Hook('Modified Angular beforeEach Hook', function() {
33- getTestBed ( ) . resetTestingModule ( ) ;
34- } );
35-
36- hook.ctx = mocha.suite.ctx;
37- hook.parent = mocha.suite;
38- mocha.suite._beforeEach = [hook];
39- < % _ } - % >
You can’t perform that action at this time.
0 commit comments