@ -56,6 +56,8 @@ describe("NICK no NICK given", function () {
done("Destroyed socket without answering")
}
console.log(server.getUserObjectFromNickName("some_nick"))
server.emit("connection", mockedSock)
mockedSock.emit('data', Buffer.from("NICK \r\n", "ascii"))
})