Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
updated message id
Browse files Browse the repository at this point in the history
  • Loading branch information
daria-github committed Dec 18, 2023
1 parent feeef97 commit 5451c5d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe("ScreenEffectContentType", () => {
const originalMessage = await conversation.send("test");

const screenEffect: ScreenEffect = {
messageId: "123",
messageId: originalMessage.id,
effectType: EffectType.SNOW,
};

Expand All @@ -54,7 +54,8 @@ describe("ScreenEffectContentType", () => {

const screenEffectMessage = messages[1];
const messageContent = screenEffectMessage.content as ScreenEffect;
expect(messageContent.messageId).toBe("123");

expect(messageContent.messageId).toBe(originalMessage.id);
expect(messageContent.effectType).toBe(EffectType.SNOW);
});
});

0 comments on commit 5451c5d

Please sign in to comment.