From f56d35b1a01da6c4a5158dfc49003ac4481932a4 Mon Sep 17 00:00:00 2001 From: Kenan Yusuf Date: Tue, 29 Oct 2024 10:47:24 +0000 Subject: [PATCH] update test --- .../x-data-grid-pro/src/tests/listView.DataGridPro.test.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/x-data-grid-pro/src/tests/listView.DataGridPro.test.tsx b/packages/x-data-grid-pro/src/tests/listView.DataGridPro.test.tsx index 105160175620..043ca3ab6179 100644 --- a/packages/x-data-grid-pro/src/tests/listView.DataGridPro.test.tsx +++ b/packages/x-data-grid-pro/src/tests/listView.DataGridPro.test.tsx @@ -88,7 +88,11 @@ describe(' - List view', () => { , ); }).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) =>
{params.row.id}
}`.', + 'For more details, see https://mui.com/x/react-data-grid/list-view/', + ].join('\n'), ); }); });