Skip to content

Commit

Permalink
chore: appease linting gods
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisdaly committed Oct 12, 2021
1 parent 65de5b9 commit b917731
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/test/integration/simulator/handlers.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const axios = require('axios');
const { v4 } = require('uuid')
const { v4 } = require('uuid');

const axiosConfig = {
headers: {
Expand Down Expand Up @@ -74,34 +74,34 @@ describe('handlers', () => {
payee: {
partyIdInfo: {
partyIdType: 'MSISDN',
partyIdentifier: '4412345678'
}
partyIdentifier: '4412345678',
},
},
payer: {
partyIdType: 'THIRD_PARTY_LINK',
partyIdentifier: 'qwerty1234'
partyIdentifier: 'qwerty1234',
},
amountType: 'SEND',
amount: {
currency: 'USD',
amount: '100'
amount: '100',
},
transactionType: {
scenario: 'TRANSFER',
initiator: 'PAYER',
initiatorType: 'CONSUMER'
initiatorType: 'CONSUMER',
},
expiration: (new Date()).toISOString()
}
expiration: (new Date()).toISOString(),
};
const expected = {
"isValid": true,
"payerPartyIdInfo": {
"partyIdType": "MSISDN",
"partyIdentifier": "123456789",
"fspId": "dfspa"
isValid: true,
payerPartyIdInfo: {
partyIdType: 'MSISDN',
partyIdentifier: '123456789',
fspId: 'dfspa',
},
"consentId": "46876aac-5db8-4353-bb3c-a6a905843ce7"
}
consentId: '46876aac-5db8-4353-bb3c-a6a905843ce7',
};
const uri = 'http://localhost:3000/validate-thirdparty-transaction-request';

// Act
Expand Down

0 comments on commit b917731

Please sign in to comment.