diff options
Diffstat (limited to 'packages/taler-wallet-embedded')
-rw-r--r-- | packages/taler-wallet-embedded/src/wallet-qjs.ts | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/packages/taler-wallet-embedded/src/wallet-qjs.ts b/packages/taler-wallet-embedded/src/wallet-qjs.ts index e6456c930..2b1c8a108 100644 --- a/packages/taler-wallet-embedded/src/wallet-qjs.ts +++ b/packages/taler-wallet-embedded/src/wallet-qjs.ts @@ -214,7 +214,13 @@ export function installNativeWalletListener(): void { globalThis.installNativeWalletListener = installNativeWalletListener; export async function testWithGv() { - const w = await createNativeWalletHost2(); + const w = await createNativeWalletHost2({ + config: { + features: { + allowHttp: true, + }, + }, + }); await w.wallet.client.call(WalletApiOperation.InitWallet, {}); await w.wallet.client.call(WalletApiOperation.RunIntegrationTest, { amountToSpend: "KUDOS:1", @@ -233,13 +239,18 @@ export async function testWithLocal() { console.log("running local test"); const w = await createNativeWalletHost2({ persistentStoragePath: "walletdb.json", + config: { + features: { + allowHttp: true, + }, + }, }); console.log("created wallet"); await w.wallet.client.call(WalletApiOperation.InitWallet, { skipDefaults: true, }); console.log("initialized wallet"); - await w.wallet.client.call(WalletApiOperation.RunIntegrationTest, { + await w.wallet.client.call(WalletApiOperation.RunIntegrationTestV2, { amountToSpend: "TESTKUDOS:1", amountToWithdraw: "TESTKUDOS:3", bankAccessApiBaseUrl: "http://localhost:8082/taler-bank-access/", |