Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {cold, getTestScheduler} from 'jasmine-marbles';
- import 'rxjs/add/operator/concat';
- describe('Test', () => {
- it('concat', () => {
- const one$ = cold('x-x|', {x: 'some value'});
- const two$ = cold('-y|', {y: 999});
- expect(one$.concat(two$)).toBeObservable(cold('a-a-b|', {a: 'some value', b: 999}));
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement