From 473503a246aa7a23539a349710c5549d1d87c147 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 10 Jan 2016 20:07:42 +0100 Subject: The great modularization. Use ES6 module syntax and SystemJS modules for everything. Some testing stubs were added as well. --- extension/test/tests/taler.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 extension/test/tests/taler.ts (limited to 'extension/test/tests') diff --git a/extension/test/tests/taler.ts b/extension/test/tests/taler.ts new file mode 100644 index 000000000..054868404 --- /dev/null +++ b/extension/test/tests/taler.ts @@ -0,0 +1,10 @@ + +import * as Emsc from '../../lib/wallet/emscriptif'; + +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); + }); +} \ No newline at end of file -- cgit v1.2.3