From 8359bad7ecb5d936ac5feaac54e5b812d8f0b1ec Mon Sep 17 00:00:00 2001 From: Tiago Costa Date: Wed, 18 Oct 2023 20:15:05 +0100 Subject: [PATCH] fix(NA): typecheck error --- .../alerting/metric_threshold/metric_threshold_executor.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts index f3bd6972eeea6..65fa6e5a070ce 100644 --- a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts +++ b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/metric_threshold_executor.test.ts @@ -42,6 +42,8 @@ const logger = { const mockNow = new Date('2023-09-20T15:11:04.105Z'); +const STARTED_AT_MOCK_DATE = new Date(); + const mockOptions = { executionId: '', startedAt: mockNow,