Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

Commit ed1bff0

Browse files
committed
fix(test): travis ipv6 fix
1 parent 26ce060 commit ed1bff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/listen-and-dial.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('websocket-star-multi', () => {
5757
l.push(listener)
5858
listener.listen(getMa(id), err => {
5959
expect(err).to.not.exist()
60-
expect(listener.online).to.have.lengthOf(3)
60+
expect(listener.online).to.have.lengthOf(!process.env.TRAVIS ? 3 : 2)
6161
cb()
6262
})
6363
})

0 commit comments

Comments
 (0)