diff --git a/spec/operators/switch-spec.ts b/spec/operators/switch-spec.ts index 8b3b7427c5..cbcc6dc77f 100644 --- a/spec/operators/switch-spec.ts +++ b/spec/operators/switch-spec.ts @@ -38,7 +38,7 @@ describe('Observable.prototype.switch', () => { unsubbed.push(x); }; })) - .mergeAll() + .switch() .subscribe(); expect(unsubbed).to.deep.equal(['a', 'b']);