Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit 6c36a46

Browse files
TomCodedJacob Heun
authored and
Jacob Heun
committed
test: fixes listen-dial test "dial and destroy on listener" (#97)
1 parent d39ec2d commit 6c36a46

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/listen-dial.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,9 @@ describe('dial', () => {
194194
})
195195
})
196196

197-
// TODO: figure out why is this failing
198-
it.skip('dial and destroy on listener', (done) => {
197+
it('dial and destroy on listener', (done) => {
199198
let count = 0
200-
const closed = ++count === 2 ? finish() : null
199+
const closed = () => ++count === 2 ? finish() : null
201200

202201
const ma = multiaddr('/ip6/::/tcp/9067')
203202

0 commit comments

Comments
 (0)