Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com>
  • Loading branch information
eps1lon and timdeschryver authored Sep 7, 2021
1 parent 19f083b commit 49f5605
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/queries/alt-text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const getMissingError: GetErrorFunction<[unknown]> = (c, alt) =>

const queryAllByAltTextWithSuggestions = wrapAllByQueryWithSuggestion<
// @ts-expect-error -- See `wrapAllByQueryWithSuggestion` Argument constraint comment
[labelText: Matcher, options?: SelectorMatcherOptions]
[altText: Matcher, options?: SelectorMatcherOptions]
>(queryAllByAltText, queryAllByAltText.name, 'queryAll')
const [
queryByAltText,
Expand Down
2 changes: 1 addition & 1 deletion src/queries/placeholder-text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const getMissingError: GetErrorFunction<[unknown]> = (c, text) =>

const queryAllByPlaceholderTextWithSuggestions = wrapAllByQueryWithSuggestion<
// @ts-expect-error -- See `wrapAllByQueryWithSuggestion` Argument constraint comment
[placeholder: Matcher, options?: MatcherOptions]
[placeholderText: Matcher, options?: MatcherOptions]
>(queryAllByPlaceholderText, queryAllByPlaceholderText.name, 'queryAll')

const [
Expand Down

0 comments on commit 49f5605

Please sign in to comment.