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-multiple.ts | |
parent | 0050bf005a40cab3b4fdc43f2960025e8d52e176 (diff) | |
download | wallet-core-f180d0580457e1e9bd502293df327dfe138dd422.tar.xz |
remove excessive namespacing, format
Diffstat (limited to 'packages/taler-integrationtests/src/test-payment-multiple.ts')
-rw-r--r-- | packages/taler-integrationtests/src/test-payment-multiple.ts | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/packages/taler-integrationtests/src/test-payment-multiple.ts b/packages/taler-integrationtests/src/test-payment-multiple.ts index 5bbeecbd9..80092a9a3 100644 --- a/packages/taler-integrationtests/src/test-payment-multiple.ts +++ b/packages/taler-integrationtests/src/test-payment-multiple.ts @@ -30,10 +30,12 @@ import { } from "./harness"; import { withdrawViaBank } from "./helpers"; -async function setupTest(t: GlobalTestState): Promise<{ - merchant: MerchantService, - exchange: ExchangeService, - bank: BankService, +async function setupTest( + t: GlobalTestState, +): Promise<{ + merchant: MerchantService; + exchange: ExchangeService; + bank: BankService; }> { const db = await setupDb(t); @@ -51,7 +53,10 @@ async function setupTest(t: GlobalTestState): Promise<{ database: db.connStr, }); - const exchangeBankAccount = await bank.createExchangeAccount("MyExchange", "x"); + const exchangeBankAccount = await bank.createExchangeAccount( + "MyExchange", + "x", + ); exchange.addOfferedCoins([coin_ct10, coin_u1]); @@ -96,12 +101,12 @@ async function setupTest(t: GlobalTestState): Promise<{ merchant, bank, exchange, - } + }; } /** * Run test. - * + * * This test uses a very sub-optimal denomination structure. */ runTest(async (t: GlobalTestState) => { |