From f68083d1238d148cf89460175e929811bf1680ff Mon Sep 17 00:00:00 2001 From: Cody Leff Date: Thu, 14 Jul 2022 06:58:07 -0600 Subject: [PATCH] Fix Jest test. --- .../src/explore/actions/hydrateExplore.test.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/superset-frontend/src/explore/actions/hydrateExplore.test.ts b/superset-frontend/src/explore/actions/hydrateExplore.test.ts index 3b3963f9f5117..ad28120bdfa92 100644 --- a/superset-frontend/src/explore/actions/hydrateExplore.test.ts +++ b/superset-frontend/src/explore/actions/hydrateExplore.test.ts @@ -64,6 +64,19 @@ test('creates hydrate action from initial data', () => { lastRendered: 0, }, }, + datasources: { + '8__table': { + column_format: {}, + columns: [{ column_name: 'a' }], + datasource_name: '8__table', + description: null, + id: 8, + main_dttm_col: '', + metrics: [{ metric_name: 'first' }, { metric_name: 'second' }], + type: 'table', + verbose_map: {}, + }, + }, saveModal: { dashboards: [], saveModalAlert: null,