Our logging module keeps its own copy so we need to call init_logging in
the test cleanup to update things.
});
afterEach(function () {
});
afterEach(function () {
- console.log.restore();
- console.debug.restore();
- console.warn.restore();
- console.error.restore();
- console.info.restore();
+ console.log.restore();
+ console.debug.restore();
+ console.warn.restore();
+ console.error.restore();
+ console.info.restore();
+ Log.init_logging();
});
it('should use noop for levels lower than the min level', function () {
});
it('should use noop for levels lower than the min level', function () {