Skip to content

Commit

Permalink
[Discover] Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
jughosta committed Jun 13, 2024
1 parent fcfb39b commit 4f8f60f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,9 @@ describe('Discover flyout', function () {
_source: { date: '2020-20-01T12:12:12.124', name: 'test2', extension: 'jpg' },
},
];
const records = buildDataTableRecordList(hits as EsHitRecord[], dataViewMock, {
const records = buildDataTableRecordList({
records: hits as EsHitRecord[],
dataView: dataViewMock,
processRecord: (record) => services.profilesManager.resolveDocumentProfile({ record }),
});
const { component } = await mountComponent({ records, services });
Expand Down

0 comments on commit 4f8f60f

Please sign in to comment.