commit a37d201aa26fedc6671882ae0d1e7ac7f748f917
parent 319d51dc4204659f2dea83447d728c222f702da8
Author: Florian Dold <florian@dold.me>
Date: Wed, 7 Sep 2022 12:55:09 +0200
fix typo
Diffstat:
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts b/packages/taler-wallet-cli/src/integrationtests/test-exchange-management.ts
@@ -32,7 +32,7 @@ import {
BankAccessApi,
} from "@gnu-taler/taler-wallet-core";
import {
- ExchangesListRespose,
+ ExchangesListResponse,
URL,
TalerErrorCode,
} from "@gnu-taler/taler-util";
@@ -45,7 +45,9 @@ import { defaultCoinConfig } from "../harness/denomStructures.js";
/**
* Test if the wallet handles outdated exchange versions correct.y
*/
-export async function runExchangeManagementTest(t: GlobalTestState): Promise<void> {
+export async function runExchangeManagementTest(
+ t: GlobalTestState,
+): Promise<void> {
// Set up test environment
const db = await setupDb(t);
@@ -121,7 +123,7 @@ export async function runExchangeManagementTest(t: GlobalTestState): Promise<voi
const wallet = new WalletCli(t);
- let exchangesList: ExchangesListRespose;
+ let exchangesList: ExchangesListResponse;
exchangesList = await wallet.client.call(
WalletApiOperation.ListExchanges,
@@ -197,7 +199,7 @@ export async function runExchangeManagementTest(t: GlobalTestState): Promise<voi
// in a format the wallet can understand.
t.assertTrue(
err1.errorDetail.innerError.code ===
- TalerErrorCode.WALLET_RECEIVED_MALFORMED_RESPONSE,
+ TalerErrorCode.WALLET_RECEIVED_MALFORMED_RESPONSE,
);
exchangesList = await wallet.client.call(
@@ -241,7 +243,7 @@ export async function runExchangeManagementTest(t: GlobalTestState): Promise<voi
t.assertTrue(
err2.errorDetail.innerError.code ===
- TalerErrorCode.WALLET_EXCHANGE_PROTOCOL_VERSION_INCOMPATIBLE,
+ TalerErrorCode.WALLET_EXCHANGE_PROTOCOL_VERSION_INCOMPATIBLE,
);
exchangesList = await wallet.client.call(