easy-config-logger
Version:
easy-config-logger is the logger with easy configuration. It is designed for both readability in development and json output in production.
18 lines (13 loc) • 289 B
text/typescript
/**
* setup before test
*/
// tslint:disable
import * as sinon from 'sinon';
beforeEach(function(): void {
this.sandbox = sinon.sandbox.create();
this.clock = sinon.useFakeTimers(new Date());
});
afterEach(function(): void {
this.clock.restore();
this.sandbox.restore();
});