Skip to content

Commit

Permalink
chore(types): fix type parameter of Queries test (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa authored Feb 3, 2021
1 parent cbe020a commit 0d56ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function testQueries() {
const {getByLabelText} = render(
<label htmlFor="usernameInput">Username</label>,
)
expectType<HTMLElement, ReturnType<typeof getByText>>(
expectType<HTMLElement, ReturnType<typeof getByLabelText>>(
getByLabelText('Username'),
)

Expand Down

0 comments on commit 0d56ea8

Please sign in to comment.