Skip to content

Commit

Permalink
test: correct misleading test description (#6412)
Browse files Browse the repository at this point in the history
  • Loading branch information
cartant committed May 21, 2021
1 parent 12c3716 commit f1f4e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/operators/single-spec.ts
Expand Up @@ -150,7 +150,7 @@ describe('single operator', () => {
});
});

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

0 comments on commit f1f4e8b

Please sign in to comment.