Browse files

fix test by adding missing disconnect event

  • Loading branch information...
1 parent 4e89221 commit 8178c01d8d554b2be025e825da37ab3eedf1611a @dodo dodo committed Jan 30, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/server-event-test.js
View
2 test/server-event-test.js
@@ -125,7 +125,7 @@ describe('C2Server', function() {
// close socket
cl.on('close', function() {
eventChain.push('clientclose')
- assert.deepEqual(eventChain, ['end', 'close', 'clientend', 'clientclose'])
+ assert.deepEqual(eventChain, ['end', 'disconnect', 'close', 'clientend', 'clientclose'])
done()
})

0 comments on commit 8178c01

Please sign in to comment.