Skip to content

Commit

Permalink
Wait is not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
lsm committed Apr 5, 2016
1 parent bb6f305 commit 8286101
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/hub.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,8 @@ module.exports = function() {
reply(reMsg)
})

setTimeout(function() {
tcpClient.req(event, msg, function(arg1) {
t.equal(arg1, reMsg, 'tcp rep match')
})
}, 100)
tcpClient.req(event, msg, function(arg1) {
t.equal(arg1, reMsg, 'tcp rep match')
})
})
}

0 comments on commit 8286101

Please sign in to comment.