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.
18 lines
668 B
18 lines
668 B
|
|
var assert = require('assert'); |
|
var logger = require('..'); |
|
|
|
describe('noop-logger', function(){ |
|
it('should expose methods', function(){ |
|
assert.equal('function', typeof logger.debug); |
|
assert.equal('function', typeof logger.info); |
|
assert.equal('function', typeof logger.warn); |
|
assert.equal('function', typeof logger.error); |
|
assert.equal('function', typeof logger.critical); |
|
assert.equal('function', typeof logger.alert); |
|
assert.equal('function', typeof logger.emergency); |
|
assert.equal('function', typeof logger.notice); |
|
assert.equal('function', typeof logger.verbose); |
|
assert.equal('function', typeof logger.fatal); |
|
}); |
|
});
|
|
|