Skip to content

Commit 0fc88b2

Browse files
authored
Merge pull request #1816 from tklever/fix-switch-test
test(switch): update test case to use correct operator
2 parents 8befc1e + 88a0f9e commit 0fc88b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/operators/switch-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('Observable.prototype.switch', () => {
3838
unsubbed.push(x);
3939
};
4040
}))
41-
.mergeAll()
41+
.switch()
4242
.subscribe();
4343

4444
expect(unsubbed).to.deep.equal(['a', 'b']);

0 commit comments

Comments
 (0)