From ab516a46d4a5e16e6d6faaf75b1bcb87e330a7b0 Mon Sep 17 00:00:00 2001 From: gabriel miranda Date: Fri, 6 Dec 2024 11:49:23 -0300 Subject: [PATCH] update rendering test --- __tests__/emailMarkdown.test.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/emailMarkdown.test.tsx b/__tests__/emailMarkdown.test.tsx index cc3c4a6..c290c67 100644 --- a/__tests__/emailMarkdown.test.tsx +++ b/__tests__/emailMarkdown.test.tsx @@ -3,8 +3,8 @@ import { render } from "@react-email/render"; import { EmailMarkdown } from "../src"; describe("ReactEmailMarkdown component renders correctly", () => { - it("renders the markdown in the correct format for browsers", () => { - const actualOutput = render( + it("renders the markdown in the correct format for browsers", async () => { + const actualOutput = await render( { ); expect(actualOutput).toMatchInlineSnapshot( - `"

Hello, World!

Hi, World

"` + `"

Hello, World!

Hi, World

"` ); }); });