aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/cta/Payment
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-02-13 15:32:23 -0300
committerSebastian <sebasjm@gmail.com>2023-02-13 15:32:23 -0300
commit6106caeba9e017242dfd334c34c8473aefb6ffb0 (patch)
treeabbfa3a86b1b865938e1a5f43404269f7167491b /packages/taler-wallet-webextension/src/cta/Payment
parentbb6644367bc014fcc09e44a7b32c2f58861ac835 (diff)
downloadwallet-core-6106caeba9e017242dfd334c34c8473aefb6ffb0.tar.xz
fix broken build since wallet-core new api and placeholder for payment-temlate
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Payment')
-rw-r--r--packages/taler-wallet-webextension/src/cta/Payment/test.ts36
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Payment/test.ts b/packages/taler-wallet-webextension/src/cta/Payment/test.ts
index f53be00c9..e92eb78c0 100644
--- a/packages/taler-wallet-webextension/src/cta/Payment/test.ts
+++ b/packages/taler-wallet-webextension/src/cta/Payment/test.ts
@@ -27,6 +27,7 @@ import {
PreparePayResultInsufficientBalance,
PreparePayResultPaymentPossible,
PreparePayResultType,
+ ScopeType,
} from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { expect } from "chai";
@@ -143,6 +144,11 @@ describe("Payment CTA states", () => {
pendingIncoming: "USD:0",
pendingOutgoing: "USD:0",
requiresUserInput: false,
+ scopeInfo: {
+ currency: "USD",
+ type: ScopeType.Auditor,
+ url: "",
+ },
},
],
},
@@ -198,6 +204,11 @@ describe("Payment CTA states", () => {
pendingIncoming: "USD:0",
pendingOutgoing: "USD:0",
requiresUserInput: false,
+ scopeInfo: {
+ currency: "USD",
+ type: ScopeType.Auditor,
+ url: "",
+ },
},
],
},
@@ -256,6 +267,11 @@ describe("Payment CTA states", () => {
pendingIncoming: "USD:0",
pendingOutgoing: "USD:0",
requiresUserInput: false,
+ scopeInfo: {
+ currency: "USD",
+ type: ScopeType.Auditor,
+ url: "",
+ },
},
],
},
@@ -312,6 +328,11 @@ describe("Payment CTA states", () => {
pendingIncoming: "USD:0",
pendingOutgoing: "USD:0",
requiresUserInput: false,
+ scopeInfo: {
+ currency: "USD",
+ type: ScopeType.Auditor,
+ url: "",
+ },
},
],
},
@@ -376,6 +397,11 @@ describe("Payment CTA states", () => {
pendingIncoming: "USD:0",
pendingOutgoing: "USD:0",
requiresUserInput: false,
+ scopeInfo: {
+ currency: "USD",
+ type: ScopeType.Auditor,
+ url: "",
+ },
},
],
},
@@ -459,6 +485,11 @@ describe("Payment CTA states", () => {
pendingIncoming: "USD:0",
pendingOutgoing: "USD:0",
requiresUserInput: false,
+ scopeInfo: {
+ currency: "USD",
+ type: ScopeType.Auditor,
+ url: "",
+ },
},
],
},
@@ -485,6 +516,11 @@ describe("Payment CTA states", () => {
pendingIncoming: "USD:0",
pendingOutgoing: "USD:0",
requiresUserInput: false,
+ scopeInfo: {
+ currency: "USD",
+ type: ScopeType.Auditor,
+ url: "",
+ },
},
],
},