From d2591a0cbdd4ad884ead0b0e94c05ea7748e7b72 Mon Sep 17 00:00:00 2001 From: Steven Lindsay Date: Tue, 14 Jan 2025 09:12:22 +0000 Subject: [PATCH] Update test data with additional fields and corrected values Added `serial` and `createdAt` fields to the test data for the helper test. --- test/core/helpers.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/core/helpers.test.ts b/test/core/helpers.test.ts index 72fba9f4..31954da9 100644 --- a/test/core/helpers.test.ts +++ b/test/core/helpers.test.ts @@ -9,10 +9,12 @@ import { DefaultReaction } from '../../src/core/reaction.js'; const TEST_ENVELOPED_MESSAGE = { id: 'chat:6TP2sA:some-room:219f7afc614af7b:0', + serial: '01719948956834-000@108TeGZDQBderu97202638', + createdAt: 1719948956834, clientId: 'user1', timestamp: 1719948956834, encoding: 'json', - action: 1, + action: 0, version: '01719948956834-000@108TeGZDQBderu97202638', extras: { headers: {},