File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export class VirtualTimeScheduler extends AsyncScheduler {
10
10
public index : number = - 1 ;
11
11
12
12
constructor ( SchedulerAction : typeof AsyncAction = VirtualAction ,
13
- public maxFrames : number = 750 ) {
13
+ public maxFrames : number = Number . POSITIVE_INFINITY ) {
14
14
super ( SchedulerAction , ( ) => this . frame ) ;
15
15
}
16
16
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ import {HotObservable} from './HotObservable';
6
6
import { TestMessage } from './TestMessage' ;
7
7
import { SubscriptionLog } from './SubscriptionLog' ;
8
8
import { Subscription } from '../Subscription' ;
9
- import { VirtualTimeScheduler } from '../scheduler/VirtualTimeScheduler' ;
9
+ import { VirtualTimeScheduler , VirtualAction } from '../scheduler/VirtualTimeScheduler' ;
10
+
11
+ const defaultMaxFrame : number = 750 ;
10
12
11
13
interface FlushableTest {
12
14
ready : boolean ;
@@ -23,7 +25,7 @@ export class TestScheduler extends VirtualTimeScheduler {
23
25
private flushTests : FlushableTest [ ] = [ ] ;
24
26
25
27
constructor ( public assertDeepEqual : ( actual : any , expected : any ) => boolean | void ) {
26
- super ( ) ;
28
+ super ( VirtualAction , defaultMaxFrame ) ;
27
29
}
28
30
29
31
createTime ( marbles : string ) : number {
You can’t perform that action at this time.
0 commit comments