diff --git a/test/unit/app/renderer/paymentsTabTest.js b/test/unit/app/renderer/paymentsTabTest.js
index b53c842a36e..86ecbbb23ea 100644
--- a/test/unit/app/renderer/paymentsTabTest.js
+++ b/test/unit/app/renderer/paymentsTabTest.js
@@ -104,12 +104,12 @@ describe('PaymentsTab component', function () {
assert.equal(wrapper.find('[data-test-id="creatingWallet"]').length, 1)
})
- it.skip('renders payment history button', function () {
+ it('renders payment history button (requires wallet and reconcileStamp)', function () {
const wrapper = shallow(
+ ledgerData={Immutable.Map({created: true, transactions: {size: 3}, reconcileStamp: 1})} />
)
assert.equal(wrapper.find('.paymentHistoryButton').length, 1)
})
@@ -123,6 +123,16 @@ describe('PaymentsTab component', function () {
)
assert.equal(wrapper.find('.paymentHistoryButton').length, 0)
})
+
+ it('does not render payment history button when reconcileStamp is not set', function () {
+ const wrapper = shallow(
+
+ )
+ assert.equal(wrapper.find('.paymentHistoryButton').length, 0)
+ })
})
describe('fundsamount functionality', function () {