1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/pages/confirm-transaction/__snapshots__/confirm-transaction.test.js.snap
Ariella Vu b5c1de900d
Refactor ConfirmTransaction to Functional Component (#17473)
* ConfirmTransaction: rm unused metricEvent context

* ConfirmTransaction: rm unused mapToProps props:
- unapprovedTxs
- id

* ConfirmTransaction: convert to FC

* ConfirmTransaction: use const ORIGIN_METAMASK

* ConfirmTransaction: rm mapStateToProps

* ConfirmTransaction: mv confirm-transaction ducks

* ConfirmTransaction: mv getContractMethodData duck

* ConfirmTransaction: rm container file

* ConfirmTransaction: use ORIGIN_METAMASK const

* ConfirmationTransaction: add tests

* ConfirmTransaction: update jest mock after merge

* tests: update snapshot after mock-state updates
2023-02-08 18:00:25 +07:00

280 lines
6.4 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Confirmation Transaction Page should display the Loading component when the transaction is invalid 1`] = `
<div
class="loading-overlay"
>
<div
class="loading-overlay__container"
>
<div
class="spinner loading-overlay__spinner"
>
<svg
class="lds-spinner"
height="100%"
preserveAspectRatio="xMidYMid"
style="background: none;"
viewBox="0 0 100 100"
width="100%"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
>
<g
transform="rotate(0 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="-0.9166666666666666s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
<g
transform="rotate(30 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="-0.8333333333333334s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
<g
transform="rotate(60 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="-0.75s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
<g
transform="rotate(90 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="-0.6666666666666666s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
<g
transform="rotate(120 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="-0.5833333333333334s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
<g
transform="rotate(150 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="-0.5s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
<g
transform="rotate(180 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="-0.4166666666666667s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
<g
transform="rotate(210 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="-0.3333333333333333s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
<g
transform="rotate(240 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="-0.25s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
<g
transform="rotate(270 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="-0.16666666666666666s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
<g
transform="rotate(300 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="-0.08333333333333333s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
<g
transform="rotate(330 50 50)"
>
<rect
fill="var(--color-warning-default)"
height="30"
rx="0"
ry="0"
width="10"
x="45"
y="0"
>
<animate
attributeName="opacity"
begin="0s"
dur="1s"
repeatCount="indefinite"
values="1;0"
/>
</rect>
</g>
</svg>
</div>
</div>
</div>
`;