Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
calebeby committed Jul 30, 2024
1 parent 78d3b54 commit 71a7cb0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .changeset/dirty-dolls-live.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

`aria-query` was updated to `5.3.0`.
This update provides updated alignment with the ARIA spec,
and will affect Testing Library queries and `getAccessibilityTree` results.
and will affect Testing Library queries and `getAccessibilityTree` results.
2 changes: 1 addition & 1 deletion .changeset/fuzzy-boxes-scream.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ We are now using `@testing-library/jest-dom@6`.
We now support all of the jest-dom matchers, except for the deprecated ones.

- `toHaveErrorMessage` was deprecated, use `toHaveAccessibleErrorMessage` instead
- `toHaveRole` was added
- `toHaveRole` was added
8 changes: 4 additions & 4 deletions tests/jest-dom-matchers/toHaveAccessibleErrorMessage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ test(
'Invalid time', // String performs a full-text match
);
await expect(
expect(timeInput).toHaveAccessibleErrorMessage(
'Invalid time' // String performs a full-text match
)
).rejects.toThrowErrorMatchingInlineSnapshot(`
expect(timeInput).toHaveAccessibleErrorMessage(
'Invalid time', // String performs a full-text match
),
).rejects.toThrowErrorMatchingInlineSnapshot(`
"expect(element).toHaveAccessibleErrorMessage(expected)
Expected element to have accessible error message:
Expand Down

0 comments on commit 71a7cb0

Please sign in to comment.