473503a246
Use ES6 module syntax and SystemJS modules for everything. Some testing stubs were added as well.
10 lines
264 B
TypeScript
10 lines
264 B
TypeScript
|
|
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);
|
|
});
|
|
} |