mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-06-06 05:51:20 +00:00
identify + test refactor and reorg
This commit is contained in:
parent
572c7e4cfa
commit
6c82973315
@ -45,7 +45,6 @@ afterEach(function (done) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
experiment('BASE', function () {
|
experiment('BASE', function () {
|
||||||
|
|
||||||
test('Open a stream', {timeout: false}, function (done) {
|
test('Open a stream', {timeout: false}, function (done) {
|
||||||
var protocol = '/sparkles/3.3.3'
|
var protocol = '/sparkles/3.3.3'
|
||||||
var c = new Counter(2, done)
|
var c = new Counter(2, done)
|
||||||
@ -61,13 +60,9 @@ experiment('BASE', function () {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
experiment('IDENTIFY', function () {
|
experiment('IDENTIFY', function () {})
|
||||||
|
|
||||||
})
|
experiment('HARDNESS', function () {})
|
||||||
|
|
||||||
experiment('HARDNESS', function () {
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
function Counter (target, callback) {
|
function Counter (target, callback) {
|
||||||
var c = 0
|
var c = 0
|
||||||
@ -80,5 +75,3 @@ function Counter (target, callback) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user