@tvkitchen/countertop
Version:
The entry point for developers who want to set up a TV Kitchen.
31 lines (28 loc) • 1.25 kB
JavaScript
;
var _consoleLogger = _interopRequireDefault(require("../consoleLogger"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
describe('consoleLogger #unit', () => {
describe('default', () => {
it('should support the log() method', () => {
expect(() => _consoleLogger.default.log('customLevel', 'Test message')).not.toThrow();
});
it('should support the fatal() method', () => {
expect(() => _consoleLogger.default.fatal('Test message')).not.toThrow();
});
it('should support the error() method', () => {
expect(() => _consoleLogger.default.error('Test message')).not.toThrow();
});
it('should support the warn() method', () => {
expect(() => _consoleLogger.default.warn('Test message')).not.toThrow();
});
it('should support the info() method', () => {
expect(() => _consoleLogger.default.info('Test message')).not.toThrow();
});
it('should support the debug() method', () => {
expect(() => _consoleLogger.default.debug('Test message')).not.toThrow();
});
it('should support the trace() method', () => {
expect(() => _consoleLogger.default.trace('Test message')).not.toThrow();
});
});
});