blob: 941e8284d792941ef7055ca804b97ec900c7a1b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import * as Emsc from '../../lib/wallet/emscriptif';
declare var HttpMockLib;
export function declareTests(assert, context, it) {
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);
});
}
|