diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-10 20:07:42 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-10 20:07:42 +0100 |
commit | 473503a246aa7a23539a349710c5549d1d87c147 (patch) | |
tree | 2b1ee9b420df72a0d861759d1fbcd2226e489086 /extension/test/tests | |
parent | dd19e0ecbe114ebd71122ff57ea56eabb6258b75 (diff) |
The great modularization.
Use ES6 module syntax and SystemJS modules for everything.
Some testing stubs were added as well.
Diffstat (limited to 'extension/test/tests')
-rw-r--r-- | extension/test/tests/taler.ts | 10 |
1 files changed, 10 insertions, 0 deletions
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 |