We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbe020a commit 0d56ea8Copy full SHA for 0d56ea8
types/test.tsx
@@ -88,7 +88,7 @@ export function testQueries() {
88
const {getByLabelText} = render(
89
<label htmlFor="usernameInput">Username</label>,
90
)
91
- expectType<HTMLElement, ReturnType<typeof getByText>>(
+ expectType<HTMLElement, ReturnType<typeof getByLabelText>>(
92
getByLabelText('Username'),
93
94
0 commit comments