friends-irc
Version:
Connects IRC and Friends channels by sending messages back and forth.
14 lines (11 loc) • 356 B
JavaScript
/*eslint-env mocha */
var chai = require('chai')
var errors = require('../lib/errors')
chai.should()
describe('Errors', function () {
it('should have a configuration error', function () {
var error = new errors.ConfigurationError()
error.message.should.equal('Invalid configuration file given')
error.should.be.an.instanceof(Error)
})
})