Ticket integration tests

This commit is contained in:
Nicholas Dudfield
2014-09-01 15:42:01 +07:00
committed by Nik Bougalis
parent 39730fc13e
commit 4c7fd18230
2 changed files with 400 additions and 1 deletions

View File

@@ -122,7 +122,10 @@ function build_setup(opts, host) {
function connect_websocket(callback) {
self.remote = data.remote = Remote.from_config(host, !!opts.verbose_ws);
self.remote.once('ledger_closed', function() {
// TODO:
self.remote.once('connected', function() {
// self.remote.once('ledger_closed', function() {
callback();
});
self.remote.connect();