This commit is contained in:
David Dias
2015-09-23 20:34:31 +01:00
parent 5b7a6051ad
commit 1ba8e80d4d
4 changed files with 31 additions and 34 deletions

View File

@ -6,7 +6,6 @@
"scripts": { "scripts": {
"test": "./node_modules/.bin/lab tests/*-test.js", "test": "./node_modules/.bin/lab tests/*-test.js",
"coverage": "./node_modules/.bin/lab -t 88 tests/*-test.js", "coverage": "./node_modules/.bin/lab -t 88 tests/*-test.js",
"laf": "./node_modules/.bin/standard --format",
"lint": "./node_modules/.bin/standard" "lint": "./node_modules/.bin/standard"
}, },
"repository": { "repository": {

View File

@ -67,9 +67,7 @@ function Swarm (peerInfo) {
}) })
} }
self.addUpgrade = function (ConnUpgrade, options) { self.addUpgrade = function (ConnUpgrade, options) {}
}
self.addStreamMuxer = function (name, StreamMuxer, options) { self.addStreamMuxer = function (name, StreamMuxer, options) {
self.muxers[name] = { self.muxers[name] = {

View File

@ -210,15 +210,15 @@ experiment('Without a Stream Muxer', function () {
test('dial a conn on a protocol on top of a upgrade', function (done) { done() }) test('dial a conn on a protocol on top of a upgrade', function (done) { done() })
}) */ }) */
/* TODO /* TODO
experiment('utp', function () { experiment('utp', function () {
test('add the transport', function (done) { done() }) test('add the transport', function (done) { done() })
test('dial a conn', function (done) { done() }) test('dial a conn', function (done) { done() })
test('dial a conn on a protocol', function (done) { done() }) test('dial a conn on a protocol', function (done) { done() })
test('add an upgrade', function (done) { done() }) test('add an upgrade', function (done) { done() })
test('dial a conn on top of a upgrade', function (done) { done() }) test('dial a conn on top of a upgrade', function (done) { done() })
test('dial a conn on a protocol on top of a upgrade', function (done) { done() }) test('dial a conn on a protocol on top of a upgrade', function (done) { done() })
}) */ }) */
}) })
experiment('With a SPDY Stream Muxer', function () { experiment('With a SPDY Stream Muxer', function () {