diff options
author | Sebastian <sebasjm@gmail.com> | 2022-06-06 12:05:26 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-06-06 12:05:26 -0300 |
commit | e09005a5773155a1de2fd9c634b425bce55314e1 (patch) | |
tree | 73086455401b017d44cc1727209c94f45d68a561 /packages/taler-wallet-webextension/src/cta/Tip.test.ts | |
parent | a97b3abe21a5d21e048f817a57b828ca2f1d2845 (diff) | |
download | wallet-core-e09005a5773155a1de2fd9c634b425bce55314e1.tar.xz |
updating old copyright header
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Tip.test.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Tip.test.ts | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Tip.test.ts b/packages/taler-wallet-webextension/src/cta/Tip.test.ts index 192173463..a77b59167 100644 --- a/packages/taler-wallet-webextension/src/cta/Tip.test.ts +++ b/packages/taler-wallet-webextension/src/cta/Tip.test.ts @@ -1,6 +1,6 @@ /* This file is part of GNU Taler - (C) 2021 Taler Systems S.A. + (C) 2022 Taler Systems S.A. GNU Taler is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -62,13 +62,13 @@ describe("Tip CTA states", () => { mountHook(() => useComponentState("taler://tip/asd", { prepareTip: async () => - ({ - accepted: tipAccepted, - exchangeBaseUrl: "exchange url", - merchantBaseUrl: "merchant url", - tipAmountEffective: "EUR:1", - walletTipId: "tip_id", - } as PrepareTipResult as any), + ({ + accepted: tipAccepted, + exchangeBaseUrl: "exchange url", + merchantBaseUrl: "merchant url", + tipAmountEffective: "EUR:1", + walletTipId: "tip_id", + } as PrepareTipResult as any), acceptTip: async () => { tipAccepted = true; }, @@ -114,12 +114,12 @@ describe("Tip CTA states", () => { mountHook(() => useComponentState("taler://tip/asd", { prepareTip: async () => - ({ - exchangeBaseUrl: "exchange url", - merchantBaseUrl: "merchant url", - tipAmountEffective: "EUR:1", - walletTipId: "tip_id", - } as PrepareTipResult as any), + ({ + exchangeBaseUrl: "exchange url", + merchantBaseUrl: "merchant url", + tipAmountEffective: "EUR:1", + walletTipId: "tip_id", + } as PrepareTipResult as any), acceptTip: async () => ({}), } as any), ); @@ -160,13 +160,13 @@ describe("Tip CTA states", () => { mountHook(() => useComponentState("taler://tip/asd", { prepareTip: async () => - ({ - accepted: true, - exchangeBaseUrl: "exchange url", - merchantBaseUrl: "merchant url", - tipAmountEffective: "EUR:1", - walletTipId: "tip_id", - } as PrepareTipResult as any), + ({ + accepted: true, + exchangeBaseUrl: "exchange url", + merchantBaseUrl: "merchant url", + tipAmountEffective: "EUR:1", + walletTipId: "tip_id", + } as PrepareTipResult as any), acceptTip: async () => ({}), } as any), ); |