diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-12 12:41:00 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-12 12:41:00 +0530 |
commit | f180d0580457e1e9bd502293df327dfe138dd422 (patch) | |
tree | 11b9eecb7a74acf7cfe36ccbc3366905718d8a1d /packages/taler-integrationtests/src/test-payment-fault.ts | |
parent | 0050bf005a40cab3b4fdc43f2960025e8d52e176 (diff) | |
download | wallet-core-f180d0580457e1e9bd502293df327dfe138dd422.tar.gz wallet-core-f180d0580457e1e9bd502293df327dfe138dd422.tar.bz2 wallet-core-f180d0580457e1e9bd502293df327dfe138dd422.zip |
remove excessive namespacing, format
Diffstat (limited to 'packages/taler-integrationtests/src/test-payment-fault.ts')
-rw-r--r-- | packages/taler-integrationtests/src/test-payment-fault.ts | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/packages/taler-integrationtests/src/test-payment-fault.ts b/packages/taler-integrationtests/src/test-payment-fault.ts index 0db6770bf..2ee5c7055 100644 --- a/packages/taler-integrationtests/src/test-payment-fault.ts +++ b/packages/taler-integrationtests/src/test-payment-fault.ts @@ -31,7 +31,11 @@ import { WalletCli, defaultCoinConfig, } from "./harness"; -import { FaultInjectedExchangeService, FaultInjectionRequestContext, FaultInjectionResponseContext } from "./faultInjection"; +import { + FaultInjectedExchangeService, + FaultInjectionRequestContext, + FaultInjectionResponseContext, +} from "./faultInjection"; import { CoreApiResponse } from "taler-wallet-core/lib/walletCoreApiHandler"; /** @@ -56,7 +60,10 @@ runTest(async (t: GlobalTestState) => { database: db.connStr, }); - const exchangeBankAccount = await bank.createExchangeAccount("MyExchange", "x"); + const exchangeBankAccount = await bank.createExchangeAccount( + "MyExchange", + "x", + ); bank.setSuggestedExchange(exchange, exchangeBankAccount.accountPaytoUri); @@ -79,7 +86,7 @@ runTest(async (t: GlobalTestState) => { }, modifyResponse(ctx: FaultInjectionResponseContext) { console.log("got response", ctx); - } + }, }); const merchant = await MerchantService.create(t, { @@ -174,7 +181,7 @@ runTest(async (t: GlobalTestState) => { faultCount++; ctx.dropResponse = true; } - } + }, }); // confirmPay won't work, as the exchange is unreachable |