Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eslint-config-prettier from 8.10.0 to 9.0.0 #3300

Merged
merged 2 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"@vitest/coverage-v8": "^0.33.0",
"babel-plugin-optimize-clsx": "^2.6.2",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.2.2",
"eslint-plugin-jest-dom": "^5.0.1",
"eslint-plugin-node": "^11.1.0",
Expand Down
3 changes: 0 additions & 3 deletions test/TreeDataGrid.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ test('should select rows in a group', async () => {
const groupCell2 = screen.getByRole('gridcell', { name: 'Canada' });
await userEvent.click(groupCell2);

// eslint-disable-next-line jest-dom/prefer-in-document
expect(screen.queryAllByRole('row', { selected: true })).toHaveLength(0);

// select parent row
Expand All @@ -261,7 +260,6 @@ test('should select rows in a group', async () => {
// unselecting child should unselect the parent row
await userEvent.click(within(selectedRows[3]).getByLabelText('Select'));
selectedRows = screen.getAllByRole('row', { selected: true });
// eslint-disable-next-line jest-dom/prefer-in-document
expect(selectedRows).toHaveLength(1);
expect(selectedRows[0]).toHaveAttribute('aria-rowindex', '7');

Expand All @@ -274,7 +272,6 @@ test('should select rows in a group', async () => {
// unselect child group
await userEvent.click(checkbox);
selectedRows = screen.getAllByRole('row', { selected: true });
// eslint-disable-next-line jest-dom/prefer-in-document
expect(selectedRows).toHaveLength(1);

await userEvent.click(screen.getByRole('gridcell', { name: '2020' }));
Expand Down