Skip to content

Commit af8ef50

Browse files
test(client-runtime): the caption fallback also keeps the video
Addresses #25988 (review)
1 parent 831e9e8 commit af8ef50

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎packages/client-runtime/src/pullRequestMarkdown.test.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,13 @@ describe("media on custom hosts", () => {
178178
text: expect.stringContaining("Before upgrading"),
179179
}),
180180
);
181+
expect(segments).toContainEqual(
182+
expect.objectContaining({
183+
kind: "attachment",
184+
url: "https://example.com/a.mp4",
185+
media: "video",
186+
}),
187+
);
181188
});
182189
});
183190

0 commit comments

Comments
 (0)