Add snapshot testing

This commit is contained in:
2023-11-21 14:48:09 +07:00
parent 04ef95754c
commit 9ff60a7770
17 changed files with 944 additions and 0 deletions
@@ -0,0 +1,44 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ButtonIcon testing snapshot render 1`] = `
<button
className="sc-bdnyFh bxHnoO"
iconStyle={
{
"size": "23px",
}
}
isHaveChildren={false}
style={
{
"backgroundColor": undefined,
"color": undefined,
"fontSize": undefined,
}
}
>
<svg
aria-hidden="true"
fill="none"
height="1em"
stroke="currentColor"
strokeWidth="2"
style={
{
"color": undefined,
}
}
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
<span />
</button>
`;