blob: 14130f9af0a456e2776d2cf6cb802f09d97a9f8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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*/
})
}
|