diff --git a/experimental/content-type-screen-effect/src/ScreenEffect.test.ts b/experimental/content-type-screen-effect/src/ScreenEffect.test.ts index 117b989..add34d0 100644 --- a/experimental/content-type-screen-effect/src/ScreenEffect.test.ts +++ b/experimental/content-type-screen-effect/src/ScreenEffect.test.ts @@ -37,7 +37,7 @@ describe("ScreenEffectContentType", () => { const originalMessage = await conversation.send("test"); const screenEffect: ScreenEffect = { - messageId: "123", + messageId: originalMessage.id, effectType: EffectType.SNOW, }; @@ -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); }); });