diff options
author | Sebastian <sebasjm@gmail.com> | 2022-10-20 14:54:29 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-10-20 14:54:29 -0300 |
commit | 414b1b84e8d1805d4bdb8844a6e5bdd50a3613c2 (patch) | |
tree | 4e3efd6e8891d944b0d497c56929b40d694ad8d1 /packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx | |
parent | 8390c60031b87e034a1bb6b830910faa6c2cc4e6 (diff) | |
download | wallet-core-414b1b84e8d1805d4bdb8844a6e5bdd50a3613c2.tar.xz |
implement the simplest recovery function
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx b/packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx index 1b54dbfa5..b12f5e5f6 100644 --- a/packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Backup.stories.tsx @@ -21,7 +21,10 @@ import { ProviderPaymentType } from "@gnu-taler/taler-wallet-core"; import { addDays } from "date-fns"; -import { BackupView as TestedComponent } from "./BackupPage.js"; +import { + BackupView as TestedComponent, + ShowRecoveryInfo, +} from "./BackupPage.js"; import { createExample } from "../test-utils.js"; import { TalerProtocolTimestamp } from "@gnu-taler/taler-util"; @@ -194,3 +197,7 @@ export const OneProvider = createExample(TestedComponent, { export const Empty = createExample(TestedComponent, { providers: [], }); + +export const Recovery = createExample(ShowRecoveryInfo, { + info: "taler://recovery/ASLDKJASLKDJASD", +}); |