diff options
author | Florian Dold <florian@dold.me> | 2023-05-26 13:52:00 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-26 13:52:00 +0200 |
commit | 96d9ea3840626f71efe38018b75748d8338565fa (patch) | |
tree | d1f04ecbb58750af79b3d0cb0420ba4fdf6d05a2 /packages/demobank-ui/src/components/Transactions/stories.tsx | |
parent | cd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854 (diff) | |
download | wallet-core-96d9ea3840626f71efe38018b75748d8338565fa.tar.xz |
taler-util,wallet-core: make AbsoluteTime opaque
Diffstat (limited to 'packages/demobank-ui/src/components/Transactions/stories.tsx')
-rw-r--r-- | packages/demobank-ui/src/components/Transactions/stories.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/demobank-ui/src/components/Transactions/stories.tsx b/packages/demobank-ui/src/components/Transactions/stories.tsx index 2dedeb01c..17e234cc7 100644 --- a/packages/demobank-ui/src/components/Transactions/stories.tsx +++ b/packages/demobank-ui/src/components/Transactions/stories.tsx @@ -21,6 +21,7 @@ import * as tests from "@gnu-taler/web-util/testing"; import { ReadyView } from "./views.js"; +import { AbsoluteTime } from "@gnu-taler/taler-util"; export default { title: "transaction list", @@ -37,9 +38,7 @@ export const Ready = tests.createExample(ReadyView, { counterpart: "ASD", negative: false, subject: "Some", - when: { - t_ms: new Date().getTime(), - }, + when: AbsoluteTime.now(), }, ], }); |