From 5d6adeee9b335db5f03e7dc5747cd858cd856124 Mon Sep 17 00:00:00 2001 From: Uladzislau Lasitsa Date: Fri, 23 Sep 2022 11:18:59 +0300 Subject: [PATCH] Fixed tests --- src/plugins/vis_types/table/public/convert_to_lens/index.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/vis_types/table/public/convert_to_lens/index.test.ts b/src/plugins/vis_types/table/public/convert_to_lens/index.test.ts index b3ed68aa1b26..5c1ad0578be1 100644 --- a/src/plugins/vis_types/table/public/convert_to_lens/index.test.ts +++ b/src/plugins/vis_types/table/public/convert_to_lens/index.test.ts @@ -23,6 +23,7 @@ jest.mock('@kbn/visualizations-plugin/public', () => ({ getPercentageColumnFormulaColumn: jest.fn(() => mockGetPercentageColumnFormulaColumn()), }), getVisSchemas: jest.fn(() => mockGetVisSchemas()), + getDataViewByIndexPatternId: jest.fn(() => ({ id: 'index-pattern' })), })); jest.mock('./configurations', () => ({