Skip to content

Commit 8be1b88

Browse files
committed
test(first): fix problem exposed by pipe fix
1 parent b30613e commit 8be1b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/operators/first-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ describe('Observable.prototype.first', () => {
132132
const e1 = hot('--a-^--b--c--a--c--|');
133133
const expected = '---------------(d|)';
134134
const sub = '^ !';
135-
expectObservable(e1.pipe(first(x => x === 's', 'd'))).toBe(expected);
135+
expectObservable(e1.pipe(first<string>(x => x === 's', 'd'))).toBe(expected);
136136
expectSubscriptions(e1.subscriptions).toBe(sub);
137137
});
138138

0 commit comments

Comments
 (0)