aboutsummaryrefslogtreecommitdiff
path: root/test/tests/taler.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-04-27 15:06:56 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-04-27 15:07:01 +0200
commit004a0372abd42da19690d95b25ede5b0ffe10601 (patch)
tree88d9a43145d1b0ce742750d2762b387d3d6c7f25 /test/tests/taler.ts
parent07715206e54cab23788e3167e5a77509ffd3e369 (diff)
downloadwallet-core-004a0372abd42da19690d95b25ede5b0ffe10601.tar.xz
get test skeleton working again
Diffstat (limited to 'test/tests/taler.ts')
-rw-r--r--test/tests/taler.ts15
1 files changed, 2 insertions, 13 deletions
diff --git a/test/tests/taler.ts b/test/tests/taler.ts
index 14130f9af..941e8284d 100644
--- a/test/tests/taler.ts
+++ b/test/tests/taler.ts
@@ -5,20 +5,9 @@ declare var HttpMockLib;
export function declareTests(assert, context, it) {
- it("works!", function() {
+ it("calls native emscripten code", 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
+}