Fixed the ts library and add rollup config for build
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Fixed log tests and updated config
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
import Index from '../src/Log';
|
||||
import Log from '../src/log'
|
||||
|
||||
describe('logging into console', function () {
|
||||
it('info', function () {
|
||||
Index.info('I am an info!');
|
||||
Log.info('I am an info!');
|
||||
});
|
||||
|
||||
it('warn', function () {
|
||||
Index.info('I am a warn!');
|
||||
Log.info('I am a warn!');
|
||||
});
|
||||
|
||||
it('error', function () {
|
||||
Index.info('I am an error!');
|
||||
Log.info('I am an error!');
|
||||
});
|
||||
|
||||
it('loggable', function () {
|
||||
Index.log({
|
||||
Log.log({
|
||||
type: 'info',
|
||||
from: 'log.test.ts',
|
||||
data: 'I am loggable called'
|
||||
|
||||
Reference in New Issue
Block a user