File tree 3 files changed +1638
-561
lines changed
3 files changed +1638
-561
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,18 @@ import { marbles } from "rxjs-marbles/mocha";
2
2
import { map } from "rxjs/operators" ;
3
3
4
4
describe ( "rxjs-marbles" , ( ) => {
5
+ it (
6
+ "should support marble tests" ,
7
+ marbles ( m => {
8
+ const source = m . hot ( "--^-a-b-c-|" ) ;
9
+ const subs = "^-------!" ;
10
+ const expected = "--b-c-d-|" ;
5
11
6
- it ( "should support marble tests" , marbles ( m => {
7
-
8
- const source = m . hot ( "--^-a-b-c-|" ) ;
9
- const subs = "^-------!" ;
10
- const expected = "--b-c-d-|" ;
11
-
12
- const destination = source . pipe (
13
- map ( value => String . fromCharCode ( value . charCodeAt ( 0 ) + 1 ) )
14
- ) ;
15
- m . expect ( destination ) . toBeObservable ( expected ) ;
16
- m . expect ( source ) . toHaveSubscriptions ( subs ) ;
17
- } ) ) ;
18
- } ) ;
12
+ const destination = source . pipe (
13
+ map ( value => String . fromCharCode ( value . charCodeAt ( 0 ) + 1 ) )
14
+ ) ;
15
+ m . expect ( destination ) . toBeObservable ( expected ) ;
16
+ m . expect ( source ) . toHaveSubscriptions ( subs ) ;
17
+ } )
18
+ ) ;
19
+ } ) ;
You can’t perform that action at this time.
0 commit comments