Fix CI
This commit is contained in:
parent
58a1a8a3c9
commit
03bda7ddd5
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ describe("Message Model", () => {
|
||||||
it("should expose a toJson method", () => {
|
it("should expose a toJson method", () => {
|
||||||
let message = {userId: "test1", roomId: "test2"};
|
let message = {userId: "test1", roomId: "test2"};
|
||||||
let messageObject = new Message(message);
|
let messageObject = new Message(message);
|
||||||
expect(messageObject.toJson()).toEqual({userId: "test1", roomId: "test2"});
|
expect(messageObject.toJson()).toEqual({userId: "test1", roomId: "test2", name: "foo"});
|
||||||
})
|
})
|
||||||
|
|
||||||
it("should find throw error when no userId", () => {
|
it("should find throw error when no userId", () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue