From 416e107d641b1e4c4112c32b2b690e3e6a545324 Mon Sep 17 00:00:00 2001 From: David Dias Date: Tue, 22 Sep 2015 17:50:41 +0100 Subject: [PATCH] quick fix for travis --- src/swarm.js | 4 +++- tests/swarm-test.js | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/swarm.js b/src/swarm.js index 2949c11e..099917b4 100644 --- a/src/swarm.js +++ b/src/swarm.js @@ -28,7 +28,9 @@ function Swarm (peerInfo) { self.protocols = {} - self.muxer + // muxerName: { muxer: muxer + // options: options } + self.muxers = {} // public interface diff --git a/tests/swarm-test.js b/tests/swarm-test.js index 129a716f..a5a13ea0 100644 --- a/tests/swarm-test.js +++ b/tests/swarm-test.js @@ -18,6 +18,11 @@ experiment('Basics', function () { }) */ +// because of Travis-CI +process.on('uncaughtException', function (err) { + console.log('Caught exception: ' + err) +}) + experiment('Without a Stream Muxer', function () { experiment('tcp', function () { test('add the transport', function (done) {