mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
Allow to specify server url without explicit port number
This commit is contained in:
@@ -818,4 +818,9 @@ describe('RippleAPI - offline', function() {
|
||||
assert(!api.isValidAddress(hex));
|
||||
});
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
it('RippleAPI - implicit server port', function() {
|
||||
const api = new RippleAPI({servers: ['wss://s1.ripple.com']});
|
||||
});
|
||||
/* eslint-enable no-unused-vars */
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user