Skip to content

Commit ecc6b28

Browse files
committed
fix(preview-server): checkImages test failing because of a link change
1 parent 9c5da50 commit ecc6b28

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/preview-server/src/actions/email-validation/__snapshots__/check-images.spec.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ exports[`checkImages() 1`] = `
2828
},
2929
{
3030
"metadata": {
31-
"byteCount": 26808,
31+
"byteCount": 24534,
3232
},
3333
"passed": true,
3434
"type": "image_size",
@@ -38,7 +38,7 @@ exports[`checkImages() 1`] = `
3838
"column": 3,
3939
"line": 2,
4040
},
41-
"source": "https://resend.com/static/brand/resend-icon-white.png",
41+
"source": "https://cdn.resend.com/brand/resend-icon-black.png",
4242
"status": "warning",
4343
},
4444
{

packages/preview-server/src/actions/email-validation/check-images.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { checkImages, type ImageCheckingResult } from './check-images';
33
test('checkImages()', async () => {
44
const results: ImageCheckingResult[] = [];
55
const html = `<div>
6-
<img src="https://resend.com/static/brand/resend-icon-white.png" />,
6+
<img src="https://cdn.resend.com/brand/resend-icon-black.png" />,
77
<img src="/static/codepen-challengers.png" alt="codepen challenges" />,
88
</div>`;
99
const stream = await checkImages(html, 'https://demo.react.email');

0 commit comments

Comments
 (0)