Skip to content

Commit 1af8fff

Browse files
committed
Update image caption test and refresh screenshots
Updates the Markdown image caption test to use a new caption and image. Regenerates all related test screenshots to reflect the change.
1 parent dc90ba5 commit 1af8fff

89 files changed

Lines changed: 2 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

__tests__/MarkdownComponents_.test.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,12 @@ test("renders Image with caption", async () => {
203203
let screen = await render(
204204
<div dataTestId="image-wrapper">
205205
<Markdown.Image
206-
src="https://rescript-lang.org/brand/rescript-brandmark.svg" caption="The ReScript logo"
206+
src="https://rescript-lang.org/lp/community-3.avif" caption="A sample image caption"
207207
/>
208208
</div>,
209209
)
210210

211-
let caption = await screen->getByText("The ReScript logo")
211+
let caption = await screen->getByText("A sample image caption")
212212
await element(caption)->toBeVisible
213213

214214
let wrapper = await screen->getByTestId("image-wrapper")
-297 Bytes
41 Bytes
27 Bytes
-71 Bytes
-48 Bytes
25 Bytes
-77 Bytes
-14 Bytes
-15 Bytes

0 commit comments

Comments
 (0)