Browse Source

added: do not expect a error message for successful QUIT commands

fix/command_quit
wayne 5 years ago
parent
commit
d61f97d034
  1. 1
      test/command_quit.js

1
test/command_quit.js

@ -11,6 +11,7 @@ describe("QUIT OK", function () {
let mockedSock = new EventEmitter() let mockedSock = new EventEmitter()
mockedSock.write = function (data) { mockedSock.write = function (data) {
done("ERROR: did not expect a message")
} }
server.emit('connection', mockedSock) server.emit('connection', mockedSock)

Loading…
Cancel
Save