From 87c3dee4cf3319b25e704be0500f9d4222c71dab Mon Sep 17 00:00:00 2001 From: Ben White Date: Fri, 23 Feb 2024 08:24:21 +0000 Subject: [PATCH] Fix --- .../session-recording/services/session-manager-v3.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin-server/tests/main/ingestion-queues/session-recording/services/session-manager-v3.test.ts b/plugin-server/tests/main/ingestion-queues/session-recording/services/session-manager-v3.test.ts index 2801e04a8389f..3bd07dcce9e1f 100644 --- a/plugin-server/tests/main/ingestion-queues/session-recording/services/session-manager-v3.test.ts +++ b/plugin-server/tests/main/ingestion-queues/session-recording/services/session-manager-v3.test.ts @@ -80,8 +80,8 @@ describe('session-manager', () => { expect(sessionManager.buffer?.context).toEqual({ sizeEstimate: 193, count: 1, - eventsRange: { firstTimestamp: 1527202800000, lastTimestamp: 1527202801000 }, - createdAt: 1527202800000, + eventsRange: { firstTimestamp: timestamp, lastTimestamp: timestamp + 1000 }, + createdAt: timestamp, }) const stats = await fs.stat(`${sessionManager.context.dir}/buffer.jsonl`)