fixing some lint issues

This commit is contained in:
Gareth Jones
2013-08-29 16:56:40 +10:00
parent 46ad57b4e0
commit 5e144e4004
17 changed files with 181 additions and 123 deletions
+5
View File
@@ -417,6 +417,11 @@ describe('../lib/levels', function() {
it('should return the default value if argument is not recognised', function() {
levels.toLevel("cheese", levels.DEBUG).should.eql(levels.DEBUG);
});
it('should return the default value if argument is falsy', function() {
levels.toLevel(undefined, levels.DEBUG).should.eql(levels.DEBUG);
levels.toLevel(null, levels.DEBUG).should.eql(levels.DEBUG);
});
});
});