Skip to content

Commit

Permalink
343 write component test for fullblogcard (#344)
Browse files Browse the repository at this point in the history
* test(frontend): 🧪 write component test for sharebuttons

* test(frontend): 🧪 write test for slicepreviewtest to check if the component slices the 100 first chars in the first paragraph

* test(frontend): 🧪 write component test for fullBlogCard and check if the content is rendered correctly

---------

Co-authored-by: Mats Nyfløt <mnyflot@gmail.com>
  • Loading branch information
2 people authored and GitHub committed Apr 21, 2024
1 parent d99e7e6 commit 5dd949d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ test("Check content rendering in BlockRendererClient", async ({ mount }) => {
<BlockRendererClient content={mockContent} />,
);

// Assertions
await expect(component.getByRole("heading")).toContainText("Lorem ipsum");
await expect(component.getByRole("paragraph")).toContainText(
"Dolor sit amet",
Expand Down

0 comments on commit 5dd949d

Please sign in to comment.