You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
const assert = require('assert'); const EventEmitter = require('events'); const IRCServer = require("../src/server.js");
describe('IRC server', function () { describe('#create()', function () { it("should return a socket server", function () { const server = IRCServer.create() assert.equal(server.eventNames().toString(), ["connection", "error"].toString()) }) })
describe('#getUserlist()', function () { it("should return a socket server", function () { const server = IRCServer.create()
assert.equal(server.getUserlist().toString(), {}.toString()) }) }) })
|