fix(core): update to latest standards

This commit is contained in:
2018-06-05 20:48:14 +02:00
parent 3409d48858
commit 73e04348da
17 changed files with 471 additions and 518 deletions

View File

@ -1,19 +1,19 @@
import { expect, tap } from "tapbundle";
import * as smartlog from "../ts/index";
import { expect, tap } from 'tapbundle';
import * as smartlog from '../ts/index';
let defaultLogger: smartlog.Smartlog;
tap.test("should produce instance of Smartlog", async () => {
tap.test('should produce instance of Smartlog', async () => {
defaultLogger = smartlog.getDefaultLogger();
expect(defaultLogger).to.be.instanceOf(smartlog.Smartlog);
});
tap.test("should enable console logging", async () => {
tap.test('should enable console logging', async () => {
defaultLogger.enableConsole();
});
tap.test("should be able to log things", async () => {
defaultLogger.log("silly", "hi");
tap.test('should be able to log things', async () => {
defaultLogger.log('silly', 'hi');
});
tap.start();