From a41ea50abcc4c59a7f7edffb232235ff16264453 Mon Sep 17 00:00:00 2001 From: Wylie Conlon Date: Thu, 16 Jul 2020 11:54:22 -0400 Subject: [PATCH] Fix types --- .../workspace_panel/chart_switch.test.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.test.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.test.tsx index e3f7ecf9d632e..ceced2a7a353c 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.test.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.test.tsx @@ -312,7 +312,16 @@ describe('chart_switch', () => { { state: {}, table: { - columns: ['2'], + columns: [ + { + columnId: 'a', + operation: { + label: '', + dataType: 'string', + isBucketed: true, + }, + }, + ], isMultiRow: true, layerId: 'a', changeType: 'unchanged',