aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-10-13 15:14:49 +0200
committerFlorian Dold <florian@dold.me>2022-10-13 15:14:49 +0200
commit83d4a1addc313f71a71463f7811f1fcc622b51b6 (patch)
tree6643f8fb7312e8fdeeb7f6f85b07b1a5f2ca376c /packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts
parentb0223d662add93bf1b2199b51d6290ba5dadf1e7 (diff)
use node16 for wallet-core, delete unused taler-config-lib package
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts b/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts
index a8e3b3e95..a9601c625 100644
--- a/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/test-paywall-flow.ts
@@ -18,14 +18,18 @@
* Imports.
*/
import { GlobalTestState, MerchantPrivateApi } from "../harness/harness.js";
-import { createSimpleTestkudosEnvironment, withdrawViaBank } from "../harness/helpers.js";
+import {
+ createSimpleTestkudosEnvironment,
+ withdrawViaBank,
+} from "../harness/helpers.js";
import {
PreparePayResultType,
codecForMerchantOrderStatusUnpaid,
ConfirmPayResultType,
URL,
} from "@gnu-taler/taler-util";
-import axios from "axios";
+import axiosImp from "axios";
+const axios = axiosImp.default;
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
/**
@@ -34,12 +38,8 @@ import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
export async function runPaywallFlowTest(t: GlobalTestState) {
// Set up test environment
- const {
- wallet,
- bank,
- exchange,
- merchant,
- } = await createSimpleTestkudosEnvironment(t);
+ const { wallet, bank, exchange, merchant } =
+ await createSimpleTestkudosEnvironment(t);
// Withdraw digital cash into the wallet.