cubetiq-ts-utils/tests/log.test.ts

24 lines
476 B
TypeScript
Raw Normal View History

import Log from '../src/log/Log';
describe('loggin into console', function () {
it('info', function () {
Log.info('I am an info!');
});
it('warn', function () {
Log.info('I am a warn!');
});
it('error', function () {
Log.info('I am an error!');
});
it('loggable', function () {
Log.log({
type: 'info',
from: 'log.test.ts',
data: 'I am loggable called'
});
});
});