Skip to content

Commit

Permalink
chore(react): fix spell issues in table directories
Browse files Browse the repository at this point in the history
  • Loading branch information
cafrias committed Dec 3, 2024
1 parent 40fadf6 commit 8884f4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"multiselect",
"multiplechoice",
"Myxococcus",
"noninteractive",
"Patil",
"popperjs",
"progessbar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,35 @@ export async function assertUncontrolledSort(
await user.click(nameSortButton);

const rows = screen.getAllByRole('row');
/* spell-checker: disable */
within(rows[1]).getByText('Alberto Abshire');
within(rows[2]).getByText('Bernice Orn');
within(rows[3]).getByText('Bert Greenholt');
/* spell-checker: enable */
}

// Sorts in descending order
{
await user.click(nameSortButton);

const rows = screen.getAllByRole('row');
/* spell-checker: disable */
within(rows[1]).getByText('Willie Mitchell');
within(rows[2]).getByText('Valerie Marks');
within(rows[3]).getByText('Taylor Runolfsdottir');
/* spell-checker: enable */
}

// Sorts in default order again
{
await user.click(nameSortButton);

const rows = screen.getAllByRole('row');
/* spell-checker: disable */
within(rows[1]).getByText('Leroy Lubowitz');
within(rows[2]).getByText('Mathew Heathcote');
within(rows[3]).getByText('Bridget Daniel');
/* spell-checker: enable */
}

// Uses custom sorter
Expand Down

0 comments on commit 8884f4f

Please sign in to comment.