This repository was archived by the owner on Feb 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 90
90
// Note we have to make a function with correct number of arguments, otherwise jasmine will
91
91
// think that all functions are sync or async.
92
92
return testBody && ( testBody . length ? function ( done ) {
93
- return testProxyZone . run ( testBody , this , [ done ] ) ;
94
- } : function ( ) {
95
- return testProxyZone . run ( testBody , this ) ;
96
- } ) ;
93
+ return testProxyZone . run ( testBody , this , [ done ] ) ;
94
+ } : function ( ) {
95
+ return testProxyZone . run ( testBody , this ) ;
96
+ } ) ;
97
97
}
98
98
interface QueueRunner {
99
99
execute ( ) : void ;
Original file line number Diff line number Diff line change 1
- import { ifEnvSupports } from './test-util' ;
2
1
/**
3
2
* @license
4
3
* Copyright Google Inc. All Rights Reserved.
@@ -7,6 +6,8 @@ import {ifEnvSupports} from './test-util';
7
6
* found in the LICENSE file at https://angular.io/license
8
7
*/
9
8
9
+ import { ifEnvSupports } from './test-util' ;
10
+
10
11
ifEnvSupports ( ( ) => jasmine && jasmine [ 'Spec' ] , ( ) => {
11
12
beforeEach ( ( ) => {
12
13
// assert that each jasmine run has a task, so that drainMicrotask works properly.
You can’t perform that action at this time.
0 commit comments