Skip to content

Commit f1f4e8b

Browse files
authored
test: correct misleading test description (#6412)
1 parent 12c3716 commit f1f4e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/operators/single-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ describe('single operator', () => {
150150
});
151151
});
152152

153-
it('should return undefined from predicate if observable does not contain matching element', () => {
153+
it('should raise error from predicate if observable does not contain matching element', () => {
154154
rxTest.run(({ hot, expectObservable, expectSubscriptions }) => {
155155
const e1 = hot(' --a--b--c--|');
156156
const e1subs = ' ^----------!';

0 commit comments

Comments
 (0)