Skip to content

Commit

Permalink
chore(retryWhen): add dtslint deprecation test
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Mar 4, 2022
1 parent c88da2c commit 7957704
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec-dtslint/operators/retryWhen-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ it('should enforce types', () => {
it('should enforce types of the notifier', () => {
const o = of(1, 2, 3).pipe(retryWhen(() => 8)); // $ExpectError
});

it('should be deprecated', () => {
const o = of(1, 2, 3).pipe(retryWhen(() => of(true))); // $ExpectDeprecation
});

0 comments on commit 7957704

Please sign in to comment.