From 6a4aca723f3ecd11d8b7ed637741649c2c2626be Mon Sep 17 00:00:00 2001 From: gparant Date: Wed, 6 May 2020 02:17:07 +0200 Subject: [PATCH] Fix CI --- back/tests/MessageTest.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/back/tests/MessageTest.ts b/back/tests/MessageTest.ts index e2b5f37..47e4cac 100644 --- a/back/tests/MessageTest.ts +++ b/back/tests/MessageTest.ts @@ -8,11 +8,11 @@ describe("Message Model", () => { expect(messageObject.userId).toBe("test1"); expect(messageObject.roomId).toBe("test2"); expect(messageObject.name).toBe("foo"); - expect(messageObject.name).toBe("user"); + expect(messageObject.frame).toBe("user"); }) it("should expose a toJson method", () => { - let message = {userId: "test1", roomId: "test2", name: "foo"}; + let message = {userId: "test1", roomId: "test2", name: "foo", frame: "user"}; let messageObject = new Message(message); expect(messageObject.toJson()).toEqual({userId: "test1", roomId: "test2", name: "foo", frame: "user"}); }); -- 2.25.1