fix unit tests. add conversation model and add unit tests to it.

This commit is contained in:
Jordan Hewitt
2025-01-25 09:12:59 -08:00
parent 82d9c9c523
commit edff1a7ab0
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,6 @@ describe('Conversation', () => {
it('should add a message to the conversation', () => {
conversation.addMessage({ id: "s1", language: "en" }, "Hello");
expect(true).toEqual(false);
expect(conversation.length).toBe(1);
expect(conversation[0].speaker.id).toEqual("s1");
expect(conversation[0].text).toEqual("hello");