Skip to content

Commit 0d56ea8

Browse files
authored
chore(types): fix type parameter of Queries test (#873)
1 parent cbe020a commit 0d56ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export function testQueries() {
8888
const {getByLabelText} = render(
8989
<label htmlFor="usernameInput">Username</label>,
9090
)
91-
expectType<HTMLElement, ReturnType<typeof getByText>>(
91+
expectType<HTMLElement, ReturnType<typeof getByLabelText>>(
9292
getByLabelText('Username'),
9393
)
9494

0 commit comments

Comments
 (0)