BREAKING CHANGE: getFee returns promise, express fee in XRP in instructions response, use rawRequest to start decoupling Remote from API

This commit is contained in:
Chris Clark
2015-10-21 16:04:35 -07:00
parent 5aa212471c
commit cd17d6940f
52 changed files with 277 additions and 184 deletions

View File

@@ -607,7 +607,9 @@ describe('RippleAPI', function() {
});
it('getFee', function() {
assert.strictEqual(this.api.getFee(), '0.000012');
return this.api.getFee().then(fee => {
assert.strictEqual(fee, '0.000012');
});
});
it('disconnect & isConnected', function() {