Differential D8677 Diff 26385 web/cashtab/src/components/Wallet/__tests__/__snapshots__/Wallet.test.js.snap
Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Wallet/__tests__/__snapshots__/Wallet.test.js.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP | // Jest Snapshot v1, https://goo.gl/fbAQLP | ||||
exports[`Wallet with BCH balances 1`] = ` | exports[`Wallet with BCH balances 1`] = ` | ||||
Array [ | Array [ | ||||
<div | <div | ||||
className="sc-jTzLTM jQTnZV" | className="sc-VigVT Hwhbd" | ||||
> | > | ||||
0.000546 | 0.000546 | ||||
BCHA | BCHA | ||||
</div>, | </div>, | ||||
<div | <div | ||||
className="sc-fjdhpX ecKhYa" | className="sc-jTzLTM jiiXXt" | ||||
> | > | ||||
$ | $ | ||||
NaN | NaN | ||||
USD | USD | ||||
</div>, | </div>, | ||||
<div | <div | ||||
onClick={[Function]} | onClick={[Function]} | ||||
▲ Show 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | > | ||||
</span> | </span> | ||||
57cvr5fulyl4hduef6czgu6u2yu522 | 57cvr5fulyl4hduef6czgu6u2yu522 | ||||
<span> | <span> | ||||
f4gv6f | f4gv6f | ||||
</span> | </span> | ||||
</div> | </div> | ||||
</div>, | </div>, | ||||
<div | <div | ||||
className="sc-cSHVUG bshqpY" | className="sc-jzJRlG QWILQ" | ||||
> | > | ||||
<div | <div | ||||
className="sc-kAzzGY dXxhGR" | className="sc-cSHVUG eKCMqR" | ||||
onClick={[Function]} | onClick={[Function]} | ||||
> | > | ||||
BCHA | BCHA | ||||
</div> | </div> | ||||
<div | <div | ||||
className="sc-kAzzGY dXxhGR nonactiveBtn" | className="sc-cSHVUG eKCMqR nonactiveBtn" | ||||
onClick={[Function]} | onClick={[Function]} | ||||
> | > | ||||
SLPA | SLPA | ||||
</div> | </div> | ||||
</div>, | </div>, | ||||
<a | <a | ||||
className="sc-chPdSV iyxOpx" | className="sc-chPdSV uuZYl" | ||||
href="/send" | |||||
onClick={[Function]} | |||||
> | |||||
Send | |||||
</a>, | |||||
<a | |||||
className="sc-kgoBCf bnLdmV" | |||||
href="https://explorer.bitcoinabc.org/address/bitcoincash:qrn4er57cvr5fulyl4hduef6czgu6u2yu522f4gv6f" | href="https://explorer.bitcoinabc.org/address/bitcoincash:qrn4er57cvr5fulyl4hduef6czgu6u2yu522f4gv6f" | ||||
rel="noopener noreferrer" | rel="noopener noreferrer" | ||||
target="_blank" | target="_blank" | ||||
> | > | ||||
<i | <span | ||||
aria-label="icon: link" | aria-label="link" | ||||
className="anticon anticon-link" | className="anticon anticon-link" | ||||
role="img" | |||||
> | > | ||||
<svg | <svg | ||||
aria-hidden="true" | aria-hidden="true" | ||||
className="" | |||||
data-icon="link" | data-icon="link" | ||||
fill="currentColor" | fill="currentColor" | ||||
focusable="false" | focusable="false" | ||||
height="1em" | height="1em" | ||||
viewBox="64 64 896 896" | viewBox="64 64 896 896" | ||||
width="1em" | width="1em" | ||||
> | > | ||||
<path | <path | ||||
d="M574 665.4a8.03 8.03 0 0 0-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 0 0-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 0 0 0 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 0 0 0 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 0 0-11.3 0L372.3 598.7a8.03 8.03 0 0 0 0 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z" | d="M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z" | ||||
/> | /> | ||||
</svg> | </svg> | ||||
</i> | </span> | ||||
View Transactions | View Transactions | ||||
</a>, | </a>, | ||||
] | ] | ||||
`; | `; | ||||
exports[`Wallet with BCH balances and tokens 1`] = ` | exports[`Wallet with BCH balances and tokens 1`] = ` | ||||
Array [ | Array [ | ||||
<div | <div | ||||
className="sc-jzJRlG fzqXAc" | className="sc-fjdhpX chQHlX" | ||||
> | > | ||||
<span | <span | ||||
aria-label="party emoji" | aria-label="party emoji" | ||||
role="img" | role="img" | ||||
> | > | ||||
🎉 | 🎉 | ||||
</span> | </span> | ||||
Congratulations on your new wallet! | Congratulations on your new wallet! | ||||
Show All 9 Lines | > | ||||
BCHA | BCHA | ||||
payments, or load it up with | payments, or load it up with | ||||
BCHA | BCHA | ||||
to send to others | to send to others | ||||
</div>, | </div>, | ||||
<div | <div | ||||
className="sc-jTzLTM jQTnZV" | className="sc-VigVT Hwhbd" | ||||
> | > | ||||
0 | 0 | ||||
BCHA | BCHA | ||||
</div>, | </div>, | ||||
<div | <div | ||||
onClick={[Function]} | onClick={[Function]} | ||||
style={ | style={ | ||||
Object { | Object { | ||||
▲ Show 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | > | ||||
</span> | </span> | ||||
57cvr5fulyl4hduef6czgu6u2yu522 | 57cvr5fulyl4hduef6czgu6u2yu522 | ||||
<span> | <span> | ||||
f4gv6f | f4gv6f | ||||
</span> | </span> | ||||
</div> | </div> | ||||
</div>, | </div>, | ||||
<div | <div | ||||
className="sc-cSHVUG bshqpY" | className="sc-jzJRlG QWILQ" | ||||
> | > | ||||
<div | <div | ||||
className="sc-kAzzGY dXxhGR" | className="sc-cSHVUG eKCMqR" | ||||
onClick={[Function]} | onClick={[Function]} | ||||
> | > | ||||
BCHA | BCHA | ||||
</div> | </div> | ||||
<div | <div | ||||
className="sc-kAzzGY dXxhGR nonactiveBtn" | className="sc-cSHVUG eKCMqR nonactiveBtn" | ||||
onClick={[Function]} | onClick={[Function]} | ||||
> | > | ||||
SLPA | SLPA | ||||
</div> | </div> | ||||
</div>, | </div>, | ||||
<div> | <div> | ||||
<h2 | <h2 | ||||
style={ | style={ | ||||
Show All 40 Lines | <div> | ||||
</a> | </a> | ||||
</div>, | </div>, | ||||
] | ] | ||||
`; | `; | ||||
exports[`Wallet without BCH balance 1`] = ` | exports[`Wallet without BCH balance 1`] = ` | ||||
Array [ | Array [ | ||||
<div | <div | ||||
className="sc-jzJRlG fzqXAc" | className="sc-fjdhpX chQHlX" | ||||
> | > | ||||
<span | <span | ||||
aria-label="party emoji" | aria-label="party emoji" | ||||
role="img" | role="img" | ||||
> | > | ||||
🎉 | 🎉 | ||||
</span> | </span> | ||||
Congratulations on your new wallet! | Congratulations on your new wallet! | ||||
Show All 9 Lines | > | ||||
BCHA | BCHA | ||||
payments, or load it up with | payments, or load it up with | ||||
BCHA | BCHA | ||||
to send to others | to send to others | ||||
</div>, | </div>, | ||||
<div | <div | ||||
className="sc-jTzLTM jQTnZV" | className="sc-VigVT Hwhbd" | ||||
> | > | ||||
0 | 0 | ||||
BCHA | BCHA | ||||
</div>, | </div>, | ||||
<div | <div | ||||
onClick={[Function]} | onClick={[Function]} | ||||
style={ | style={ | ||||
Object { | Object { | ||||
▲ Show 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | > | ||||
</span> | </span> | ||||
57cvr5fulyl4hduef6czgu6u2yu522 | 57cvr5fulyl4hduef6czgu6u2yu522 | ||||
<span> | <span> | ||||
f4gv6f | f4gv6f | ||||
</span> | </span> | ||||
</div> | </div> | ||||
</div>, | </div>, | ||||
<div | <div | ||||
className="sc-cSHVUG bshqpY" | className="sc-jzJRlG QWILQ" | ||||
> | > | ||||
<div | <div | ||||
className="sc-kAzzGY dXxhGR" | className="sc-cSHVUG eKCMqR" | ||||
onClick={[Function]} | onClick={[Function]} | ||||
> | > | ||||
BCHA | BCHA | ||||
</div> | </div> | ||||
<div | <div | ||||
className="sc-kAzzGY dXxhGR nonactiveBtn" | className="sc-cSHVUG eKCMqR nonactiveBtn" | ||||
onClick={[Function]} | onClick={[Function]} | ||||
> | > | ||||
SLPA | SLPA | ||||
</div> | </div> | ||||
</div>, | </div>, | ||||
] | ] | ||||
`; | `; | ||||
Show All 11 Lines | > | ||||
<br /> | <br /> | ||||
<br /> | <br /> | ||||
Create a new wallet below to get started, or import an existing wallet using a seed phrase. | Create a new wallet below to get started, or import an existing wallet using a seed phrase. | ||||
</p>, | </p>, | ||||
<button | <button | ||||
className="sc-bwzfXH crkPeR" | className="sc-bwzfXH crkPeR" | ||||
onClick={[Function]} | onClick={[Function]} | ||||
> | > | ||||
<i | <span | ||||
aria-label="icon: plus-square" | aria-label="plus-square" | ||||
className="anticon anticon-plus-square" | className="anticon anticon-plus-square" | ||||
role="img" | |||||
> | > | ||||
<svg | <svg | ||||
aria-hidden="true" | aria-hidden="true" | ||||
className="" | |||||
data-icon="plus-square" | data-icon="plus-square" | ||||
fill="currentColor" | fill="currentColor" | ||||
focusable="false" | focusable="false" | ||||
height="1em" | height="1em" | ||||
viewBox="64 64 896 896" | viewBox="64 64 896 896" | ||||
width="1em" | width="1em" | ||||
> | > | ||||
<path | <path | ||||
d="M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" | d="M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" | ||||
/> | /> | ||||
<path | <path | ||||
d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" | d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" | ||||
/> | /> | ||||
</svg> | </svg> | ||||
</i> | </span> | ||||
New Wallet | New Wallet | ||||
</button>, | </button>, | ||||
<button | <button | ||||
className="sc-htpNat fajXvM" | className="sc-htpNat fajXvM" | ||||
onClick={[Function]} | onClick={[Function]} | ||||
> | > | ||||
<i | <span | ||||
aria-label="icon: import" | aria-label="import" | ||||
className="anticon anticon-import" | className="anticon anticon-import" | ||||
role="img" | |||||
> | > | ||||
<svg | <svg | ||||
aria-hidden="true" | aria-hidden="true" | ||||
className="" | |||||
data-icon="import" | data-icon="import" | ||||
fill="currentColor" | fill="currentColor" | ||||
focusable="false" | focusable="false" | ||||
height="1em" | height="1em" | ||||
viewBox="64 64 896 896" | viewBox="64 64 896 896" | ||||
width="1em" | width="1em" | ||||
> | > | ||||
<path | <path | ||||
d="M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zM902 476H588v-76c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 0 0 0 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-76h314c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" | d="M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zM902 476H588v-76c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-76h314c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" | ||||
/> | /> | ||||
</svg> | </svg> | ||||
</i> | </span> | ||||
Import Wallet | Import Wallet | ||||
</button>, | </button>, | ||||
] | ] | ||||
`; | `; |