From 1f22e671c5717d1eb3c9a8b1029f6375e412ace6 Mon Sep 17 00:00:00 2001 From: Davis McPhee Date: Fri, 7 Jun 2024 20:32:26 -0300 Subject: [PATCH] Fix context.predecessors.test.ts tests --- .../application/context/services/context.predecessors.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/discover/public/application/context/services/context.predecessors.test.ts b/src/plugins/discover/public/application/context/services/context.predecessors.test.ts index 451c38e87399a..e60fdb3563719 100644 --- a/src/plugins/discover/public/application/context/services/context.predecessors.test.ts +++ b/src/plugins/discover/public/application/context/services/context.predecessors.test.ts @@ -66,6 +66,7 @@ describe('context predecessors', function () { fetchPredecessors = (timeValIso, timeValNr, tieBreakerField, tieBreakerValue, size = 10) => { const anchor = buildDataTableRecord( { + _id: 'test', _source: { [dataView.timeFieldName!]: timeValIso, }, @@ -220,6 +221,7 @@ describe('context predecessors', function () { fetchPredecessors = (timeValIso, timeValNr, tieBreakerField, tieBreakerValue, size = 10) => { const anchor = buildDataTableRecord( { + _id: 'test', _source: { [dataView.timeFieldName!]: timeValIso, },