Skip to content

Commit

Permalink
fixed tests due to note update on withdraw modal
Browse files Browse the repository at this point in the history
  • Loading branch information
faboweb committed May 23, 2019
1 parent 981ca80 commit d1180af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/staking/ModalWithdrawRewards.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
<TmField id="amount" :value="rewards | atoms | fullDecimals" readonly />
</TmFormGroup>
<span v-if="!validatorAddress" class="form-message">
Note: Lunie will withdraw only the top 5 rewards in a single transaction due to a limitation in the Ledger Nano S.
Note: Lunie will withdraw only the top 5 rewards in a single transaction
due to a limitation in the Ledger Nano S.
</span>
</ActionModal>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe(`ModalWithdrawRewards`, () => {
validatorAddress: null
})
expect(wrapper.find(`.form-message`).text()).toBe(
"Note: Lunie withdraws only the top 5 rewards at a time."
"Note: Lunie will withdraw only the top 5 rewards in a single transaction\n due to a limitation in the Ledger Nano S."
)
})

Expand Down

0 comments on commit d1180af

Please sign in to comment.