hotfix(tests): fix wallet summary component changes that were not modified on unit tests
This commit is contained in:
parent
c39de61b3e
commit
dc85e802e2
|
@ -10,7 +10,7 @@ exports[`<TransactionItem /> should render a transaction item correctly 1`] = `
|
||||||
class="sc-bdVaJa eFCRqo"
|
class="sc-bdVaJa eFCRqo"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="sc-bdVaJa eFCRqo"
|
class="sc-ckVGcZ gzxdCf sc-bdVaJa eFCRqo"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="Transaction Type Icon"
|
alt="Transaction Type Icon"
|
||||||
|
|
|
@ -3,16 +3,16 @@
|
||||||
exports[`<TransactionDailyComponent /> render() should render user daily transactions 1`] = `
|
exports[`<TransactionDailyComponent /> render() should render user daily transactions 1`] = `
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="sc-kpOJdX inMzwo"
|
class="sc-jKJlTe gjnbgQ"
|
||||||
data-testid="TransactionsDaily"
|
data-testid="TransactionsDaily"
|
||||||
>
|
>
|
||||||
<p
|
<p
|
||||||
class="sc-ckVGcZ kFpbuU sc-htpNat pRhzD"
|
class="sc-hMqMXs gnhPXm sc-htpNat pRhzD"
|
||||||
>
|
>
|
||||||
2019-02-20T19:31:57.117Z
|
2019-02-20T19:31:57.117Z
|
||||||
</p>
|
</p>
|
||||||
<div
|
<div
|
||||||
class="sc-dxgOiQ dHRuWE"
|
class="sc-eNQAEJ dtrSYf"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="sc-jzJRlG bgSReS sc-bdVaJa bWRfen"
|
class="sc-jzJRlG bgSReS sc-bdVaJa bWRfen"
|
||||||
|
@ -22,7 +22,7 @@ exports[`<TransactionDailyComponent /> render() should render user daily transac
|
||||||
class="sc-bdVaJa eFCRqo"
|
class="sc-bdVaJa eFCRqo"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="sc-bdVaJa eFCRqo"
|
class="sc-ckVGcZ gzxdCf sc-bdVaJa eFCRqo"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="Transaction Type Icon"
|
alt="Transaction Type Icon"
|
||||||
|
@ -75,7 +75,7 @@ exports[`<TransactionDailyComponent /> render() should render user daily transac
|
||||||
class="sc-bdVaJa eFCRqo"
|
class="sc-bdVaJa eFCRqo"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="sc-bdVaJa eFCRqo"
|
class="sc-ckVGcZ gzxdCf sc-bdVaJa eFCRqo"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="Transaction Type Icon"
|
alt="Transaction Type Icon"
|
||||||
|
|
|
@ -14,6 +14,7 @@ describe('WalletSummary Reducer', () => {
|
||||||
total: 0,
|
total: 0,
|
||||||
shielded: 0,
|
shielded: 0,
|
||||||
transparent: 0,
|
transparent: 0,
|
||||||
|
unconfirmed: 0,
|
||||||
error: null,
|
error: null,
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
zecPrice: 0,
|
zecPrice: 0,
|
||||||
|
@ -37,6 +38,7 @@ describe('WalletSummary Reducer', () => {
|
||||||
total: 0,
|
total: 0,
|
||||||
shielded: 0,
|
shielded: 0,
|
||||||
transparent: 0,
|
transparent: 0,
|
||||||
|
unconfirmed: 0,
|
||||||
error: null,
|
error: null,
|
||||||
isLoading: true,
|
isLoading: true,
|
||||||
zecPrice: 0,
|
zecPrice: 0,
|
||||||
|
@ -52,6 +54,7 @@ describe('WalletSummary Reducer', () => {
|
||||||
total: 1000,
|
total: 1000,
|
||||||
transparent: 1000,
|
transparent: 1000,
|
||||||
shielded: 1000,
|
shielded: 1000,
|
||||||
|
unconfirmed: 0,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
const expectedState = {
|
const expectedState = {
|
||||||
|
@ -77,6 +80,7 @@ describe('WalletSummary Reducer', () => {
|
||||||
total: 0,
|
total: 0,
|
||||||
shielded: 0,
|
shielded: 0,
|
||||||
transparent: 0,
|
transparent: 0,
|
||||||
|
unconfirmed: 0,
|
||||||
error: action.payload.error,
|
error: action.payload.error,
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
addresses: [],
|
addresses: [],
|
||||||
|
|
Loading…
Reference in New Issue