mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-04-25 06:32:19 +00:00
test: fixes listen-dial test "dial and destroy on listener" (#97)
This commit is contained in:
parent
d39ec2db40
commit
6c36a46831
@ -194,10 +194,9 @@ describe('dial', () => {
|
||||
})
|
||||
})
|
||||
|
||||
// TODO: figure out why is this failing
|
||||
it.skip('dial and destroy on listener', (done) => {
|
||||
it('dial and destroy on listener', (done) => {
|
||||
let count = 0
|
||||
const closed = ++count === 2 ? finish() : null
|
||||
const closed = () => ++count === 2 ? finish() : null
|
||||
|
||||
const ma = multiaddr('/ip6/::/tcp/9067')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user