wallet-core/extension/test/tests/taler.ts
Florian Dold b8627813be Replace handlebars with mithril, hooks for i18n.
The wallet is now a single page application.
2016-01-24 02:29:13 +01:00

24 lines
454 B
TypeScript

import * as Emsc from '../../lib/wallet/emscriptif';
declare var HttpMockLib;
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);
});
it("retries", function() {
let m = new HttpMockLib();
/*m.intercept()
.matchUrlContains()
.counterEquals(0)
.count()
.sen*/
})
}