diff options
author | Florian Dold <florian@dold.me> | 2022-03-18 15:32:41 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-03-21 19:20:48 +0100 |
commit | f8d12f7b0d4af1b1769b89e80c87f9c169678564 (patch) | |
tree | 2478696c7bc1efc6d090b93aa340de542a7dccd9 /packages/taler-wallet-webextension/src/cta/Tip.stories.tsx | |
parent | 32cd54e11d80bde0274b3c0238f8f5bd00ff83cb (diff) | |
download | wallet-core-f8d12f7b0d4af1b1769b89e80c87f9c169678564.tar.xz |
wallet: t_s/d_us migration
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Tip.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Tip.stories.tsx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Tip.stories.tsx b/packages/taler-wallet-webextension/src/cta/Tip.stories.tsx index 8da599513..e475a9610 100644 --- a/packages/taler-wallet-webextension/src/cta/Tip.stories.tsx +++ b/packages/taler-wallet-webextension/src/cta/Tip.stories.tsx @@ -19,6 +19,7 @@ * @author Sebastian Javier Marchano (sebasjm) */ +import { AbsoluteTime, TalerProtocolTimestamp } from "@gnu-taler/taler-util"; import { createExample } from "../test-utils"; import { View as TestedComponent } from "./Tip"; @@ -33,9 +34,7 @@ export const Accepted = createExample(TestedComponent, { accepted: true, merchantBaseUrl: "", exchangeBaseUrl: "", - expirationTimestamp: { - t_ms: 0, - }, + expirationTimestamp: TalerProtocolTimestamp.fromSeconds(1), tipAmountEffective: "USD:10", tipAmountRaw: "USD:5", walletTipId: "id", @@ -47,9 +46,7 @@ export const NotYetAccepted = createExample(TestedComponent, { accepted: false, merchantBaseUrl: "http://merchant.url/", exchangeBaseUrl: "http://exchange.url/", - expirationTimestamp: { - t_ms: 0, - }, + expirationTimestamp: TalerProtocolTimestamp.fromSeconds(1), tipAmountEffective: "USD:10", tipAmountRaw: "USD:5", walletTipId: "id", |