mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(desktop): intercept proxied link preview fixture
Co-authored-by: Mari <95cae996907d7cab9f5dbf43c0f53edeac6ab0b032a6feae4abfd784e467b3f5@buzz.block.builderlab.xyz> Signed-off-by: Mari <95cae996907d7cab9f5dbf43c0f53edeac6ab0b032a6feae4abfd784e467b3f5@buzz.block.builderlab.xyz>
This commit is contained in:
@@ -1312,7 +1312,7 @@ test("compact link preview image geometry truncates long titles to one line", as
|
||||
page,
|
||||
}) => {
|
||||
const previewUrl = "https://github.com/block/buzz/pull/3246?geometry=1";
|
||||
await page.route("http://localhost:3000/media/*.png", (route) =>
|
||||
await page.route("http://127.0.0.1:54321/media/**", (route) =>
|
||||
route.fulfill({
|
||||
body: LINK_PREVIEW_IMAGE,
|
||||
contentType: "image/png",
|
||||
|
||||
Reference in New Issue
Block a user