aboutsummaryrefslogtreecommitdiff
path: root/extension/test/tests/taler.ts
blob: 0548684049586b98f50d7cf96a457be8e19081c5 (plain)
1
2
3
4
5
6
7
8
9
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);
  });
}