Skip to content

Commit

Permalink
JS style
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwenmemon committed Aug 4, 2022
1 parent f0c43b0 commit 812363f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/actions/ReimbursementAccountTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,15 +260,16 @@ describe('actions/BankAccounts', () => {
expect(reimbursementAccount.achData.currentStep).toBe(CONST.BANK_ACCOUNT.STEP.ACH_CONTRACT);

HttpUtils.xhr.mockImplementation((command) => {
// WHEN we mock a sucessful call to SetupWithdrawalAccount while on the ACHContractStep
switch (command) {
// WHEN we mock a sucessful call to SetupWithdrawalAccount while on the ACHContractStep
case 'BankAccount_SetupWithdrawal':
return Promise.resolve({
jsonCode: 200,
achData: {
bankAccountID: TEST_BANK_ACCOUNT_ID,
},
});

// And mock the response of Get&returnValueList=bankAccountList
case 'Get':
return Promise.resolve({
Expand Down

0 comments on commit 812363f

Please sign in to comment.