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', () => ({