Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /