Fix #311 by setting default for tests to 'silent'
This commit is contained in:
parent
7415daed0c
commit
9f83eaa7a2
|
@ -30,9 +30,7 @@ var Cylon = require("./../");
|
|||
|
||||
Cylon.config({
|
||||
mode: "manual",
|
||||
logging: {
|
||||
logger: false
|
||||
}
|
||||
silent: true
|
||||
});
|
||||
|
||||
Cylon.Logger.setup();
|
||||
|
|
|
@ -4,7 +4,6 @@ var config = lib("config");
|
|||
|
||||
describe("config", function() {
|
||||
it("contains configuration options", function() {
|
||||
expect(config.logging).to.be.an("object");
|
||||
expect(config.testMode).to.be.eql(false);
|
||||
});
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ describe("Logger", function() {
|
|||
afterEach(function() {
|
||||
// to be friendly to other specs
|
||||
Config.logger = false;
|
||||
Config.silent = false;
|
||||
Logger.setup();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue