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/taler-wallet-webextension/src/wallet/Notifications/stories.tsx | |
parent | cd8f76db61f4a1ab1a8a8a4d29b2f3e863b59854 (diff) | |
download | wallet-core-96d9ea3840626f71efe38018b75748d8338565fa.tar.xz |
taler-util,wallet-core: make AbsoluteTime opaque
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx b/packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx index 54f601c42..7344f417c 100644 --- a/packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Notifications/stories.tsx @@ -22,6 +22,7 @@ import { AbsoluteTime, AttentionType, + TalerPreciseTimestamp, TransactionIdStr, } from "@gnu-taler/taler-util"; import * as tests from "@gnu-taler/web-util/testing"; @@ -34,7 +35,7 @@ export default { export const Ready = tests.createExample(ReadyView, { list: [ { - when: AbsoluteTime.now(), + when: TalerPreciseTimestamp.now(), read: false, info: { type: AttentionType.KycWithdrawal, @@ -42,7 +43,7 @@ export const Ready = tests.createExample(ReadyView, { }, }, { - when: AbsoluteTime.now(), + when: TalerPreciseTimestamp.now(), read: false, info: { type: AttentionType.MerchantRefund, @@ -50,7 +51,7 @@ export const Ready = tests.createExample(ReadyView, { }, }, { - when: AbsoluteTime.now(), + when: TalerPreciseTimestamp.now(), read: false, info: { type: AttentionType.BackupUnpaid, |