diff options
author | Florian Dold <florian@dold.me> | 2024-05-16 13:19:17 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-05-16 13:19:23 +0200 |
commit | f0decd3521440d6119ad9333949ce67653d8b2c2 (patch) | |
tree | 7e14203552b811448136802fb00eeccadc04071e /packages/taler-harness/src/integrationtests/test-clause-schnorr.ts | |
parent | 98c188c1b14f73a6b81f41a0cacd6195bb53208e (diff) | |
download | wallet-core-f0decd3521440d6119ad9333949ce67653d8b2c2.tar.xz |
wallet-core: query templates, refactor API declarations
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-clause-schnorr.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-clause-schnorr.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-clause-schnorr.ts b/packages/taler-harness/src/integrationtests/test-clause-schnorr.ts index adab764ef..c104edc85 100644 --- a/packages/taler-harness/src/integrationtests/test-clause-schnorr.ts +++ b/packages/taler-harness/src/integrationtests/test-clause-schnorr.ts @@ -17,6 +17,7 @@ /** * Imports. */ +import { TalerMerchantApi } from "@gnu-taler/taler-util"; import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; import { CoinConfig, defaultCoinConfig } from "../harness/denomStructures.js"; import { GlobalTestState } from "../harness/harness.js"; @@ -67,7 +68,7 @@ export async function runClauseSchnorrTest(t: GlobalTestState) { }); await wres.withdrawalFinishedCond; - const order = { + const order: TalerMerchantApi.Order = { summary: "Buy me!", amount: "TESTKUDOS:5", fulfillment_url: "taler://fulfillment-success/thx", @@ -78,7 +79,7 @@ export async function runClauseSchnorrTest(t: GlobalTestState) { // Test JSON normalization of contract terms: Does the wallet // agree with the merchant? - const order2 = { + const order2: TalerMerchantApi.Order = { summary: "Testing “unicode” characters", amount: "TESTKUDOS:5", fulfillment_url: "taler://fulfillment-success/thx", @@ -89,7 +90,7 @@ export async function runClauseSchnorrTest(t: GlobalTestState) { // Test JSON normalization of contract terms: Does the wallet // agree with the merchant? - const order3 = { + const order3: TalerMerchantApi.Order = { summary: "Testing\nNewlines\rAnd\tStuff\nHere\b", amount: "TESTKUDOS:5", fulfillment_url: "taler://fulfillment-success/thx", |