File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
2
* Created by tushar on 28/01/17.
3
3
*/
4
- import * as t from 'assert'
4
+ import * as assert from 'assert'
5
5
import { EVENT } from '../src/internal/Events'
6
6
import { createTestScheduler } from '../src/schedulers/TestScheduler'
7
7
8
8
describe ( 'new TestScheduler()' , ( ) => {
9
9
it ( 'should just ... ' , ( ) => {
10
10
const sh = createTestScheduler ( )
11
- t . strictEqual ( sh . now ( ) , 0 )
11
+ assert . strictEqual ( sh . now ( ) , 0 )
12
12
13
13
sh . advanceBy ( 10 )
14
- t . strictEqual ( sh . now ( ) , 10 )
14
+ assert . strictEqual ( sh . now ( ) , 10 )
15
15
16
16
sh . advanceBy ( 2 )
17
- t . strictEqual ( sh . now ( ) , 12 )
17
+ assert . strictEqual ( sh . now ( ) , 12 )
18
18
19
19
sh . advanceTo ( 20 )
20
- t . strictEqual ( sh . now ( ) , 20 )
20
+ assert . strictEqual ( sh . now ( ) , 20 )
21
21
} )
22
22
23
23
it ( 'should just ... ' , ( ) => {
@@ -31,7 +31,7 @@ describe('new TestScheduler()', () => {
31
31
] )
32
32
)
33
33
34
- t . deepEqual ( results , [
34
+ assert . deepEqual ( results , [
35
35
EVENT . next ( 210 , '0' ) ,
36
36
EVENT . next ( 220 , '1' ) ,
37
37
EVENT . next ( 230 , '2' ) ,
You can’t perform that action at this time.
0 commit comments