From 4c17199ddab8d74e090fe62a9aaea1a8a32a4e03 Mon Sep 17 00:00:00 2001 From: Pete Hampton Date: Wed, 9 Dec 2020 15:43:52 +0000 Subject: [PATCH] Tests should pass now hopefully. --- .../plugins/security_solution/server/lib/telemetry/task.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/task.test.ts b/x-pack/plugins/security_solution/server/lib/telemetry/task.test.ts index c634ed482acdf..d5856cef8c029 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/task.test.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/task.test.ts @@ -144,6 +144,6 @@ describe('test', () => { const executeFrom = moment(executeTo).subtract(142, 'minutes').toISOString(); const newExecuteFrom = telemetryDiagTask.getLastExecutionTimestamp(executeTo, executeFrom); - expect(newExecuteFrom).toEqual(moment(executeTo).subtract(10, 'minutes')); + expect(newExecuteFrom).toEqual(moment(executeTo).subtract(10, 'minutes').toISOString()); }); });