Skip to content

Commit

Permalink
add more delay on va
Browse files Browse the repository at this point in the history
  • Loading branch information
HendryZheng committed Jan 5, 2022
1 parent 1763047 commit 79256c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration_test/va.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = function () {
.getVABanks()
.then(banks => {
return va.createFixedVA({
externalID: 'VA-' + new Date().toLocaleString(),
externalID: 'VA-xendit-node-js998877',
bankCode: banks[0].code,
name: 'Stanley Nguyen',
isClosed: true,
Expand All @@ -23,10 +23,10 @@ module.exports = function () {
return va.getFixedVA({ id })
})
.then(({ id }) => {
sleepFor(5000);
return va.updateFixedVA({
id,
suggestedAmt: 10000,
expectedAmt: 10000,
expectedAmt: 12000,
});
})
.then(() => {
Expand Down

0 comments on commit 79256c1

Please sign in to comment.