Skip to content

Commit

Permalink
📸 Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
nwingt committed Jun 6, 2024
1 parent 105af56 commit e54ac55
Show file tree
Hide file tree
Showing 7 changed files with 218 additions and 387 deletions.
129 changes: 45 additions & 84 deletions test/__snapshots__/basic.test.ts.snap

Large diffs are not rendered by default.

43 changes: 15 additions & 28 deletions test/__snapshots__/new-supporter.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

exports[`Render new supporter templates Default 1`] = `
"<!doctype html>
<html xmlns=\\"http://www.w3.org/1999/xhtml\\" xmlns:v=\\"urn:schemas-microsoft-com:vml\\" xmlns:o=\\"urn:schemas-microsoft-com:office:office\\">
<html lang=\\"und\\" dir=\\"auto\\" xmlns=\\"http://www.w3.org/1999/xhtml\\" xmlns:v=\\"urn:schemas-microsoft-com:vml\\" xmlns:o=\\"urn:schemas-microsoft-com:office:office\\">
<head>
<title>
</title>
<title></title>
<!--[if !mso]><!-->
<meta http-equiv=\\"X-UA-Compatible\\" content=\\"IE=edge\\">
<!--<![endif]-->
Expand Down Expand Up @@ -49,19 +47,20 @@ exports[`Render new supporter templates Default 1`] = `
.moz-text-html .mj-column-px-120 { width:120px !important; max-width: 120px; }
</style>
<style type=\\"text/css\\">
<style type=\\"text/css\\">
@media only screen and (max-width:576px) {
@media only screen and (max-width:575px) {
table.mj-full-width-mobile { width: 100% !important; }
td.mj-full-width-mobile { width: auto !important; }
}
</style>
<style type=\\"text/css\\">
@media only screen and (max-width: 480px) {
@media only screen and (max-width: 480px) {
*[class~=hide_on_mobile] { display: none !important;}
*[class~=hoverTable] { table-layout: auto !important;}
}
Expand All @@ -72,7 +71,7 @@ exports[`Render new supporter templates Default 1`] = `
<div
style=\\"background-color:white;\\"
style=\\"background-color:white;\\" lang=\\"und\\" dir=\\"auto\\"
>
Expand Down Expand Up @@ -124,7 +123,7 @@ exports[`Render new supporter templates Default 1`] = `
<td style=\\"width:145px;\\">
<img
height=\\"auto\\" src=\\"http://localhost:3000/static/banners/like-coin-press-kit-liker-land-dark@3x.png\\" style=\\"border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:14px;\\" width=\\"145\\"
alt=\\"\\" src=\\"http://localhost:3000/static/banners/like-coin-press-kit-liker-land-dark@3x.png\\" style=\\"border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:14px;\\" width=\\"145\\" height=\\"auto\\"
/>
</td>
Expand Down Expand Up @@ -445,7 +444,7 @@ exports[`Render new supporter templates Default 1`] = `
<tr>
<td
align=\\"center\\" vertical-align=\\"middle\\" style=\\"font-size:0px;padding:0px;word-break:break-word;\\"
align=\\"center\\" style=\\"font-size:0px;padding:0px;word-break:break-word;\\"
>
<table
Expand Down Expand Up @@ -535,7 +534,7 @@ exports[`Render new supporter templates Default 1`] = `
>
<img
height=\\"auto\\" src=\\"http://localhost:3000/static/social-elements/v2/twitter-large-zh.png\\" style=\\"border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:14px;\\" width=\\"220\\"
alt=\\"\\" src=\\"http://localhost:3000/static/social-elements/v2/twitter-large-zh.png\\" style=\\"border:0;display:block;outline:none;text-decoration:none;height:auto;width:100%;font-size:14px;\\" width=\\"220\\" height=\\"auto\\"
/>
</a>
Expand Down Expand Up @@ -572,7 +571,7 @@ exports[`Render new supporter templates Default 1`] = `
<td style=\\"font-size:0;height:32px;vertical-align:middle;width:32px;\\">
<a href=\\"https://discord.gg/likecoin?utm_medium=email&amp;utm_source=email\\" target=\\"_blank\\">
<img
height=\\"32\\" src=\\"http://localhost:3000/static/social-elements/v2/discord.png\\" style=\\"border-radius:16px;display:block;\\" width=\\"32\\"
alt=\\"\\" height=\\"32\\" src=\\"http://localhost:3000/static/social-elements/v2/discord.png\\" style=\\"border-radius:16px;display:block;\\" width=\\"32\\"
/>
</a>
</td>
Expand Down Expand Up @@ -603,7 +602,7 @@ exports[`Render new supporter templates Default 1`] = `
<td style=\\"font-size:0;height:32px;vertical-align:middle;width:32px;\\">
<a href=\\"https://github.com/likecoin?utm_medium=email&amp;utm_source=email\\" target=\\"_blank\\">
<img
height=\\"32\\" src=\\"http://localhost:3000/static/social-elements/v2/github.png\\" style=\\"border-radius:16px;display:block;\\" width=\\"32\\"
alt=\\"\\" height=\\"32\\" src=\\"http://localhost:3000/static/social-elements/v2/github.png\\" style=\\"border-radius:16px;display:block;\\" width=\\"32\\"
/>
</a>
</td>
Expand Down Expand Up @@ -634,7 +633,7 @@ exports[`Render new supporter templates Default 1`] = `
<td style=\\"font-size:0;height:32px;vertical-align:middle;width:32px;\\">
<a href=\\"https://blog.like.co?utm_medium=email&amp;utm_source=email\\" target=\\"_blank\\">
<img
height=\\"32\\" src=\\"http://localhost:3000/static/social-elements/v2/blog.png\\" style=\\"border-radius:16px;display:block;\\" width=\\"32\\"
alt=\\"\\" height=\\"32\\" src=\\"http://localhost:3000/static/social-elements/v2/blog.png\\" style=\\"border-radius:16px;display:block;\\" width=\\"32\\"
/>
</a>
</td>
Expand Down Expand Up @@ -665,7 +664,7 @@ exports[`Render new supporter templates Default 1`] = `
<td style=\\"font-size:0;height:32px;vertical-align:middle;width:32px;\\">
<a href=\\"https://www.instagram.com/liker.land?utm_medium=email&amp;utm_source=email\\" target=\\"_blank\\">
<img
height=\\"32\\" src=\\"http://localhost:3000/static/social-elements/v2/instagram.png\\" style=\\"border-radius:16px;display:block;\\" width=\\"32\\"
alt=\\"\\" height=\\"32\\" src=\\"http://localhost:3000/static/social-elements/v2/instagram.png\\" style=\\"border-radius:16px;display:block;\\" width=\\"32\\"
/>
</a>
</td>
Expand Down Expand Up @@ -696,18 +695,6 @@ exports[`Render new supporter templates Default 1`] = `
</td>
</tr>
<tr>
<td
align=\\"center\\" style=\\"font-size:0px;padding:4px;word-break:break-word;\\"
>
<div
style=\\"font-family:Arial;font-size:14px;line-height:1.5;text-align:center;color:#4a4a4a;\\"
><a href=\\"https://like.co/in/settings/others?utm_medium=email&amp;utm_source=email\\" target=\\"_blank\\" rel=\\"noreferrer noopener\\" style=\\"color:#28646e;text-decoration:underline\\">取消訂閱</a></div>
</td>
</tr>
</tbody>
</table>
Expand Down
Loading

0 comments on commit e54ac55

Please sign in to comment.