Skip to content

refactor(ts): use Marko.HTML instead of Marko.Input when possible #1610

refactor(ts): use Marko.HTML instead of Marko.Input when possible

refactor(ts): use Marko.HTML instead of Marko.Input when possible #1610

Triggered via pull request January 21, 2025 22:51
Status Failure
Total duration 3m 45s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
src/components/ebay-menu-button/test/test.server.js > menu-button > renders with icon: src/common/test-utils/snapshots.js#L7
Error: Snapshot `menu-button > renders with icon 1` mismatched - Expected + Received @@ -9,25 +9,32 @@ data-ebayui="" type="button" > <svg aria-hidden="true" - class="icon icon--24" + class="icon icon--16" focusable="false" > <defs> <symbol - id="icon-settings-24" + id="icon-settings-16" - viewBox="0 0 24 24" + viewBox="0 0 16 16" > <path - d="M9.763 0h4.473a.98.98 0 0 1 .93.687l.695 2.132c.267.116.528.245.782.384l2.061-.773a.969.969 0 0 1 .338-.062c.292 0 .576.135.767.379l2.788 3.579c.264.337.287.809.057 1.173l-1.202 1.895c.076.28.14.563.192.851l1.885 1.173c.36.224.54.66.447 1.08l-.995 4.464a.989.989 0 0 1-.862.777l-2.197.22a10.09 10.09 0 0 1-.531.681l.28 2.242a1.01 1.01 0 0 1-.548 1.032l-4.028 1.987a.969.969 0 0 1-1.13-.205l-1.54-1.624c-.059.002-.116.006-.174.01a3.61 3.61 0 0 1-.25.011c-.086 0-.17-.006-.252-.011-.058-.004-.115-.008-.172-.01l-1.54 1.625a.97.97 0 0 1-1.13.205l-4.03-1.987c-.38-.187-.6-.602-.547-1.031l.28-2.243a10.103 10.103 0 0 1-.531-.68l-2.199-.22a.991.991 0 0 1-.86-.777l-.995-4.462A1.013 1.013 0 0 1 .47 11.42l1.885-1.173c.05-.29.117-.572.191-.852L1.344 7.5a1.023 1.023 0 0 1 .057-1.173l2.789-3.58a.97.97 0 0 1 1.104-.317l2.06.773a10 10 0 0 1 .785-.385L8.833.687A.982.982 0 0 1 9.763 0Zm4.256 3.462L13.544 2h-3.088l-.474 1.462c-.18.55-.58.996-1.1 1.225-.217.096-.43.201-.632.312a1.948 1.948 0 0 1-1.621.119l-1.41-.53-1.925 2.474.824 1.305c.308.485.398 1.083.25 1.642a7.991 7.991 0 0 0-.156.69 2.033 2.033 0 0 1-.92 1.372L2 12.876l.686 3.088 1.51.15a1.967 1.967 0 0 1 1.408.825c.143.2.284.382.428.552.372.437.543 1.017.472 1.592l-.191 1.543L9.094 22l1.058-1.12a1.956 1.956 0 0 1 1.422-.615h.854c.534 0 1.047.22 1.422.616l1.058 1.118 2.782-1.374-.192-1.543a2.061 2.061 0 0 1 .471-1.592c.145-.17.285-.351.428-.552a1.969 1.969 0 0 1 1.408-.824l1.51-.153.685-3.087-1.292-.804a2.035 2.035 0 0 1-.92-1.373 8.335 8.335 0 0 0-.154-.689 2.07 2.07 0 0 1 .248-1.643l.824-1.304-1.925-2.475-1.41.53a1.931 1.931 0 0 1-1.622-.118 7.794 7.794 0 0 0-.631-.311 2.014 2.014 0 0 1-1.099-1.225ZM7 12a5 5 0 0 1 5-5 5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5Zm8 0c0-1.654-1.346-3-3-3s-3 1.346-3 3 1.346 3 3 3 3-1.346 3-3Z" + clip-rule="evenodd" + d="M10.799.652A1 1 0 0 0 9.86 0H6.14c-.42 0-.793.26-.94.652l-.412 1.11-.316.184-.274.157-1.17-.199a1.001 1.001 0 0 0-1.034.486l-.921 1.594-.01.015-.93 1.61A1 1 0 0 0 .23 6.747l.755.911.002.398-.001.283-.757.913a1 1 0 0 0-.096 1.138l.93 1.61.007.01.924 1.6c.21.362.622.556 1.034.486l1.17-.198.268.152.322.188.412 1.11c.146.392.52.652.939.652h3.72c.419 0 .793-.26.939-.652l.412-1.11.321-.187.27-.153 1.169.198c.412.07.825-.124 1.034-.486l.922-1.596.008-.013.93-1.61a1 1 0 0 0-.096-1.138l-.755-.911-.002-.399.001-.282.757-.913a1 1 0 0 0 .096-1.138L14.936 4l-.005-.008-.926-1.602a1.001 1.001 0 0 0-1.034-.486l-1.17.199-.27-.154-.32-.187L10.8.652ZM5.468 12.318l.628.359a1 1 0 0 1 .441.52l.299.803h2.328l.299-.803a1 1 0 0 1 .442-.52l.626-.358.57-.333c.204-.118.441-.16.673-.122l.845.144.582-1.008.008-.013.575-.994-.548-.66a1 1 0 0 1-.23-.642l.004-.748-.003-.633a1 1 0 0 1 .23-.643l.547-.66-.578-.998-.005-.01-.582-1.007-.845.144a1.003 1.003 0 0 1-.672-.122l-.572-.333-.626-.358a1 1 0 0 1-.441-.52L9.164 2H6.836l-.299.803a1 1 0 0 1-.441.52l-.621.355-.577.336c-.203.118-.44.161-.672.122l-.845-.143L2.799 5l-.01.015-.572.992.547.66a1 1 0 0 1 .23.642l-.004.747.003.634a1 1 0 0 1-.23.643l-.547.66.576.996L2.8 11l.582 1.008.845-.144c.232-.039.47.004.672.122l.57.332Z" + fill-rule="evenodd" + /> + <path + clip-rule="evenodd" + d="M8 9a1 1 0 1 0 .001-2.001A1 1 0 0 0 8 9Zm0 2a3.002 3.002 0 0 0 3.003-3c0-1.657-1.344-3-3.003-3a3.002 3.002 0 0 0-3.003 3c0 1.657 1.344 3 3.003 3Z" + fill-rule="evenodd" /> </symbol> </defs> <use - href="#icon-settings-24" + href="#icon-settings-16" />
build
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636