Skip to content

Commit

Permalink
Merge 1f04066 into bccfca9
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Dec 9, 2019
2 parents bccfca9 + 1f04066 commit dfc64e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/keep-alive.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var noError = helper.noError
test('supports pingreq/pingresp', function (t) {
t.plan(1)

var s = noError(connect(setup()))
var s = noError(connect(setup()), t)

s.inStream.write({
cmd: 'pingreq'
Expand Down
4 changes: 1 addition & 3 deletions test/meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ test('count connected clients', function (t) {

last.conn.destroy()

// needed because destroy() will do the trick before
// the next tick
process.nextTick(function () {
setImmediate(function () {
t.equal(broker.connectedClients, 1, 'one connected clients')
})
})
Expand Down

0 comments on commit dfc64e3

Please sign in to comment.