hotfix(tests): fix wallet summary component changes that were not modified on unit tests

This commit is contained in:
Andre Neves 2019-04-28 21:46:07 -04:00
parent c39de61b3e
commit dc85e802e2
3 changed files with 10 additions and 6 deletions

View File

@ -10,7 +10,7 @@ exports[`<TransactionItem /> should render a transaction item correctly 1`] = `
class="sc-bdVaJa eFCRqo"
>
<div
class="sc-bdVaJa eFCRqo"
class="sc-ckVGcZ gzxdCf sc-bdVaJa eFCRqo"
>
<img
alt="Transaction Type Icon"

View File

@ -3,16 +3,16 @@
exports[`<TransactionDailyComponent /> render() should render user daily transactions 1`] = `
<div>
<div
class="sc-kpOJdX inMzwo"
class="sc-jKJlTe gjnbgQ"
data-testid="TransactionsDaily"
>
<p
class="sc-ckVGcZ kFpbuU sc-htpNat pRhzD"
class="sc-hMqMXs gnhPXm sc-htpNat pRhzD"
>
2019-02-20T19:31:57.117Z
</p>
<div
class="sc-dxgOiQ dHRuWE"
class="sc-eNQAEJ dtrSYf"
>
<div
class="sc-jzJRlG bgSReS sc-bdVaJa bWRfen"
@ -22,7 +22,7 @@ exports[`<TransactionDailyComponent /> render() should render user daily transac
class="sc-bdVaJa eFCRqo"
>
<div
class="sc-bdVaJa eFCRqo"
class="sc-ckVGcZ gzxdCf sc-bdVaJa eFCRqo"
>
<img
alt="Transaction Type Icon"
@ -75,7 +75,7 @@ exports[`<TransactionDailyComponent /> render() should render user daily transac
class="sc-bdVaJa eFCRqo"
>
<div
class="sc-bdVaJa eFCRqo"
class="sc-ckVGcZ gzxdCf sc-bdVaJa eFCRqo"
>
<img
alt="Transaction Type Icon"

View File

@ -14,6 +14,7 @@ describe('WalletSummary Reducer', () => {
total: 0,
shielded: 0,
transparent: 0,
unconfirmed: 0,
error: null,
isLoading: false,
zecPrice: 0,
@ -37,6 +38,7 @@ describe('WalletSummary Reducer', () => {
total: 0,
shielded: 0,
transparent: 0,
unconfirmed: 0,
error: null,
isLoading: true,
zecPrice: 0,
@ -52,6 +54,7 @@ describe('WalletSummary Reducer', () => {
total: 1000,
transparent: 1000,
shielded: 1000,
unconfirmed: 0,
},
};
const expectedState = {
@ -77,6 +80,7 @@ describe('WalletSummary Reducer', () => {
total: 0,
shielded: 0,
transparent: 0,
unconfirmed: 0,
error: action.payload.error,
isLoading: false,
addresses: [],