diff options
author | Florian Dold <florian@dold.me> | 2023-02-15 23:32:42 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-16 02:50:29 +0100 |
commit | 825d2c4352022e7397854b2bd9ba7d3589873c07 (patch) | |
tree | d23530bf8408367439e6b3820ea0c4269bfeb39a /packages/taler-harness/src/harness | |
parent | cb2f4c21d85707abb0221cbf2a859a98836b2d44 (diff) | |
download | wallet-core-825d2c4352022e7397854b2bd9ba7d3589873c07.tar.xz |
make wallet-cli runnable under qtart
Diffstat (limited to 'packages/taler-harness/src/harness')
-rw-r--r-- | packages/taler-harness/src/harness/harness.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/packages/taler-harness/src/harness/harness.ts b/packages/taler-harness/src/harness/harness.ts index 0b7ba14cf..518b98d82 100644 --- a/packages/taler-harness/src/harness/harness.ts +++ b/packages/taler-harness/src/harness/harness.ts @@ -41,17 +41,15 @@ import { MerchantTemplateAddDetails, parsePaytoUri, stringToBytes, + TalerError, TalerProtocolDuration, WalletNotification, } from "@gnu-taler/taler-util"; import { - BankAccessApi, BankApi, BankServiceHandle, HarnessExchangeBankAccount, - NodeHttpLib, openPromise, - TalerError, WalletCoreApiClient, } from "@gnu-taler/taler-wallet-core"; import { deepStrictEqual } from "assert"; @@ -83,6 +81,7 @@ import { RemoteWallet, WalletNotificationWaiter, } from "@gnu-taler/taler-wallet-core/remote"; +import { createPlatformHttpLib } from "@gnu-taler/taler-util/http"; const logger = new Logger("harness.ts"); @@ -507,7 +506,7 @@ class LibEuFinBankService extends BankServiceBase implements BankServiceHandle { sandboxProc: ProcessWrapper | undefined; nexusProc: ProcessWrapper | undefined; - http = new NodeHttpLib(); + http = createPlatformHttpLib(); static async create( gc: GlobalTestState, @@ -794,7 +793,7 @@ export class FakebankService { proc: ProcessWrapper | undefined; - http = new NodeHttpLib(); + http = createPlatformHttpLib(); // We store "created" accounts during setup and // register them after startup. |