diff options
author | Florian Dold <florian@dold.me> | 2021-08-19 18:34:23 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-19 18:34:23 +0200 |
commit | f5a8ae33e3c2f1575aa66f990f4e5d538b9532f8 (patch) | |
tree | 3aa549c30d2d68832de2eb9bbb3de0404da4441e /packages/taler-wallet-cli/src/integrationtests/harness.ts | |
parent | d43313f71e326960a36b9e9bd83f711c193276da (diff) | |
download | wallet-core-f5a8ae33e3c2f1575aa66f990f4e5d538b9532f8.tar.xz |
cleanup / formatting
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/harness.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/harness.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/harness.ts b/packages/taler-wallet-cli/src/integrationtests/harness.ts index fef4c27c1..10b93b330 100644 --- a/packages/taler-wallet-cli/src/integrationtests/harness.ts +++ b/packages/taler-wallet-cli/src/integrationtests/harness.ts @@ -76,8 +76,8 @@ export async function delayMs(ms: number): Promise<void> { } export interface WithAuthorization { - Authorization?: string, -} ; + Authorization?: string; +} interface WaitResult { code: number | null; @@ -1220,7 +1220,9 @@ export namespace MerchantPrivateApi { ): Promise<PostOrderResponse> { const baseUrl = merchantService.makeInstanceBaseUrl(instanceName); let url = new URL("private/orders", baseUrl); - const resp = await axios.post(url.href, req, { headers: withAuthorization }); + const resp = await axios.post(url.href, req, { + headers: withAuthorization, + }); return codecForPostOrderResponse().decode(resp.data); } @@ -1395,10 +1397,8 @@ export class MerchantService implements MerchantServiceInterface { } } - async start( - withResetTables: boolean = true, // eventually, this should become a named parameter - ): Promise<void> { - await exec(`taler-merchant-dbinit ${withResetTables ? "-r" : ""} -c "${this.configFilename}"`); + async start(): Promise<void> { + await exec(`taler-merchant-dbinit -c "${this.configFilename}"`); this.proc = this.globalState.spawnService( "taler-merchant-httpd", |