Skip to content

Commit

Permalink
expand all levels
Browse files Browse the repository at this point in the history
  • Loading branch information
Luisgustavom1 committed Jun 4, 2024
1 parent 7324005 commit c57c77a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/TreeDataGrid.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ test('should toggle group when group cell is clicked and is passing `generateGro
expect(getRows()).toHaveLength(6);
await userEvent.click(screen.getByRole('gridcell', { name: 'Canada' }));
expect(getRows()).toHaveLength(8);
await userEvent.click(screen.getByRole('gridcell', { name: '2020' }));
expect(getRows()).toHaveLength(9);
});

test('should toggle group using keyboard', async () => {
Expand Down

0 comments on commit c57c77a

Please sign in to comment.