We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f894eaa commit 1837d95Copy full SHA for 1837d95
packages/ra-ui-materialui/src/list/datagrid/DatagridRow.spec.tsx
@@ -68,7 +68,7 @@ describe('<DatagridRow />', () => {
68
);
69
expect(queryAllByText('expanded')).toHaveLength(0);
70
fireEvent.click(getByText('hello'));
71
- expect(queryAllByText('expanded')).toHaveLength(0);
+ expect(queryAllByText('expanded')).toHaveLength(1);
72
});
73
74
it('should not show the expand button if it returns false', () => {
@@ -87,7 +87,7 @@ describe('<DatagridRow />', () => {
87
88
89
90
- expect(queryAllByText('expanded')).toHaveLength(1);
+ expect(queryAllByText('expanded')).toHaveLength(0);
91
92
93
0 commit comments