Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
KenanYusuf committed Oct 29, 2024
1 parent 130b949 commit f56d35b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ describe('<DataGridPro /> - List view', () => {
</div>,
);
}).toWarnDev(
'MUI X: The `unstable_listColumn` prop must be set if `unstable_listView` is enabled.',
[
'MUI X: The `unstable_listColumn` prop must be set if `unstable_listView` is enabled.',
'To fix, pass a column definition to the `unstable_listColumn` prop, e.g. `{ field: "example", renderCell: (params) => <div>{params.row.id}</div> }`.',
'For more details, see https://mui.com/x/react-data-grid/list-view/',
].join('\n'),
);
});
});

0 comments on commit f56d35b

Please sign in to comment.