Browse Source

added command_quit command

feature/command_quit
Wayne 5 years ago
parent
commit
08b3bfaf23
  1. 8
      test/command_quit.js

8
test/command_quit.js

@ -16,13 +16,7 @@ describe("QUIT OK", function () {
server.emit('connection', mockedSock)
mockedSock.emit('data', Buffer.from("NICK nick" + i + "\r\n", "ascii"))
}
mockedSock.quit("gone to have lunch")
mockedSock.destroy = function () {
done("Destroyed socket without answering")
}
console.log(server.getUserlist())
})
})
Loading…
Cancel
Save