Skip to content

Commit e48e296

Browse files
committed
chore(retryWhen): add dtslint deprecation test
related #6367
1 parent a756654 commit e48e296

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec-dtslint/operators/retryWhen-spec.ts

+4
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ it('should enforce types', () => {
1616
it('should enforce types of the notifier', () => {
1717
const o = of(1, 2, 3).pipe(retryWhen(() => 8)); // $ExpectError
1818
});
19+
20+
it('should be deprecated', () => {
21+
const o = of(1, 2, 3).pipe(retryWhen(() => of(true))); // $ExpectDeprecation
22+
});

0 commit comments

Comments
 (0)