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/integrationtests/test-wallet-dbless.ts | |
parent | cb2f4c21d85707abb0221cbf2a859a98836b2d44 (diff) | |
download | wallet-core-825d2c4352022e7397854b2bd9ba7d3589873c07.tar.xz |
make wallet-cli runnable under qtart
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-wallet-dbless.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-wallet-dbless.ts | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts b/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts index 7692f12b2..08c10fd91 100644 --- a/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts +++ b/packages/taler-harness/src/integrationtests/test-wallet-dbless.ts @@ -17,17 +17,16 @@ /** * Imports. */ -import { j2s } from "@gnu-taler/taler-util"; +import { j2s, TalerError } from "@gnu-taler/taler-util"; +import { createPlatformHttpLib } from "@gnu-taler/taler-util/http"; import { checkReserve, CryptoDispatcher, depositCoin, downloadExchangeInfo, findDenomOrThrow, - NodeHttpLib, refreshCoin, - SynchronousCryptoWorkerFactoryNode, - TalerError, + SynchronousCryptoWorkerFactoryPlain, topupReserveWithDemobank, withdrawCoin, } from "@gnu-taler/taler-wallet-core"; @@ -42,9 +41,9 @@ export async function runWalletDblessTest(t: GlobalTestState) { const { bank, exchange } = await createSimpleTestkudosEnvironment(t); - const http = new NodeHttpLib(); + const http = createPlatformHttpLib(); const cryptiDisp = new CryptoDispatcher( - new SynchronousCryptoWorkerFactoryNode(), + new SynchronousCryptoWorkerFactoryPlain(), ); const cryptoApi = cryptiDisp.cryptoApi; |