From b8627813be56e04c18baf38885f3a3dc0fb7496c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 24 Jan 2016 02:29:13 +0100 Subject: Replace handlebars with mithril, hooks for i18n. The wallet is now a single page application. --- extension/test/tests/taler.ts | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'extension/test') diff --git a/extension/test/tests/taler.ts b/extension/test/tests/taler.ts index 054868404..14130f9af 100644 --- a/extension/test/tests/taler.ts +++ b/extension/test/tests/taler.ts @@ -1,10 +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 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 -- cgit v1.2.3