aboutsummaryrefslogtreecommitdiff
path: root/test/tests/taler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests/taler.ts')
-rw-r--r--test/tests/taler.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/tests/taler.ts b/test/tests/taler.ts
new file mode 100644
index 000000000..14130f9af
--- /dev/null
+++ b/test/tests/taler.ts
@@ -0,0 +1,24 @@
+import * as Emsc from '../../lib/wallet/emscriptif';
+
+
+declare var HttpMockLib;
+
+export function declareTests(assert, context, it) {
+
+ it("works!", function() {
+ let x = new Emsc.Amount({value: 42, fraction: 42, currency: "EUR"});
+ let j = x.toJson();
+ assert("value" in j);
+ });
+
+
+ it("retries", function() {
+ let m = new HttpMockLib();
+ /*m.intercept()
+ .matchUrlContains()
+ .counterEquals(0)
+ .count()
+ .sen*/
+ })
+
+} \ No newline at end of file