From a73d24759c4de897af111daaf3022cac6f5c30da Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Wed, 21 Dec 2022 16:36:24 -0300
Subject: testing function sum and freeze

---
 .../src/wallet/DeveloperPage.tsx                   | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

(limited to 'packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx')

diff --git a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
index cbf6b1c0a..0916f4f43 100644
--- a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
@@ -197,6 +197,30 @@ export function View({
             <i18n.Translate>run gc</i18n.Translate>
           </Button>
         </Grid>
+        <Grid item>
+          <Button
+            variant="contained"
+            onClick={() => {
+              return api.background.call("sum", [1, 2, 3]).then((r) => {
+                console.log("SUM", r);
+              });
+            }}
+          >
+            <i18n.Translate>sum 123</i18n.Translate>
+          </Button>
+        </Grid>
+        <Grid item>
+          <Button
+            variant="contained"
+            onClick={() => {
+              return api.background.call("freeze", 5000).then(() => {
+                console.log("WAIT");
+              });
+            }}
+          >
+            <i18n.Translate>freeze 5000</i18n.Translate>
+          </Button>
+        </Grid>
         <Grid item>
           <Button
             variant="contained"
-- 
cgit v1.2.3

