summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx39
1 files changed, 17 insertions, 22 deletions
diff --git a/packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx b/packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx
index 88c7c725e..0388664b3 100644
--- a/packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx
+++ b/packages/taler-wallet-webextension/src/popup/TalerActionFound.stories.tsx
@@ -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
@@ -15,38 +15,33 @@
*/
/**
-*
-* @author Sebastian Javier Marchano (sebasjm)
-*/
+ *
+ * @author Sebastian Javier Marchano (sebasjm)
+ */
-import { createExample } from '../test-utils';
-import { TalerActionFound as TestedComponent } from './TalerActionFound';
+import * as tests from "@gnu-taler/web-util/testing";
+import { TalerActionFound as TestedComponent } from "./TalerActionFound.js";
export default {
- title: 'popup/TalerActionFound',
- component: TestedComponent,
+ title: "TalerActionFound",
};
-export const PayAction = createExample(TestedComponent, {
- url: 'taler://pay/something'
-});
-
-export const WithdrawalAction = createExample(TestedComponent, {
- url: 'taler://withdraw/something'
+export const PayAction = tests.createExample(TestedComponent, {
+ url: "taler://pay/something",
});
-export const TipAction = createExample(TestedComponent, {
- url: 'taler://tip/something'
+export const WithdrawalAction = tests.createExample(TestedComponent, {
+ url: "taler://withdraw/something",
});
-export const NotifyAction = createExample(TestedComponent, {
- url: 'taler://notify-reserve/something'
+export const NotifyAction = tests.createExample(TestedComponent, {
+ url: "taler://notify-reserve/something",
});
-export const RefundAction = createExample(TestedComponent, {
- url: 'taler://refund/something'
+export const RefundAction = tests.createExample(TestedComponent, {
+ url: "taler://refund/something",
});
-export const InvalidAction = createExample(TestedComponent, {
- url: 'taler://something/asd'
+export const InvalidAction = tests.createExample(TestedComponent, {
+ url: "taler://something/asd",
});