Fix #311 by setting default for tests to 'silent'

This commit is contained in:
deadprogram 2015-09-01 10:18:17 -07:00
parent 7415daed0c
commit 9f83eaa7a2
3 changed files with 2 additions and 4 deletions

View File

@ -30,9 +30,7 @@ var Cylon = require("./../");
Cylon.config({ Cylon.config({
mode: "manual", mode: "manual",
logging: { silent: true
logger: false
}
}); });
Cylon.Logger.setup(); Cylon.Logger.setup();

View File

@ -4,7 +4,6 @@ var config = lib("config");
describe("config", function() { describe("config", function() {
it("contains configuration options", function() { it("contains configuration options", function() {
expect(config.logging).to.be.an("object");
expect(config.testMode).to.be.eql(false); expect(config.testMode).to.be.eql(false);
}); });

View File

@ -7,6 +7,7 @@ describe("Logger", function() {
afterEach(function() { afterEach(function() {
// to be friendly to other specs // to be friendly to other specs
Config.logger = false; Config.logger = false;
Config.silent = false;
Logger.setup(); Logger.setup();
}); });