From bb94687ed957893d6c8f327e4417614e91c92d4d Mon Sep 17 00:00:00 2001 From: lyndsiWilliams Date: Wed, 1 Feb 2023 08:31:21 -0600 Subject: [PATCH] Fix LeftPanel test --- .../CRUD/data/dataset/AddDataset/LeftPanel/LeftPanel.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset-frontend/src/views/CRUD/data/dataset/AddDataset/LeftPanel/LeftPanel.test.tsx b/superset-frontend/src/views/CRUD/data/dataset/AddDataset/LeftPanel/LeftPanel.test.tsx index 3996dc0fec5c6..b6c33cad3733b 100644 --- a/superset-frontend/src/views/CRUD/data/dataset/AddDataset/LeftPanel/LeftPanel.test.tsx +++ b/superset-frontend/src/views/CRUD/data/dataset/AddDataset/LeftPanel/LeftPanel.test.tsx @@ -137,8 +137,8 @@ fetchMock.get(schemasEndpoint, { }); fetchMock.get(tablesEndpoint, { - count: 3, - result: [ + tableLength: 3, + options: [ { value: 'Sheet1', type: 'table', extra: null }, { value: 'Sheet2', type: 'table', extra: null }, { value: 'Sheet3', type: 'table', extra: null },