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.
12 lines
417 B
12 lines
417 B
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())
|
|
})
|
|
})
|
|
})
|