Skip to content

Commit e8ee17f

Browse files
committed
update type of toHaveDisplayValue matcher
1 parent 4bb904a commit e8ee17f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/matchers/extend-expect.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
import { TextMatch, TextMatchOptions } from '../matches';
2+
13
export interface JestNativeMatchers<R> {
24
toBeOnTheScreen(): R;
35
toBeEmptyElement(): R;
6+
toHaveDisplayValue(
7+
expectedValue: TextMatch,
8+
options?: TextMatchOptions
9+
): R;
410
}
511

612
// Implicit Jest global `expect`.

0 commit comments

Comments
 (0)