Added error throwing when error loading test file.
This will hopefully give us better visibility into our Travis CI build failures.
This commit is contained in:
parent
3b5eb28115
commit
6e3da6f44b
@ -135,6 +135,9 @@ vows.describe('../lib/appenders/dateFile').addBatch({
|
||||
teardown: removeFile('date-file-test.log'),
|
||||
|
||||
'should load appender configuration from a json file': function(err, contents) {
|
||||
if (err) {
|
||||
throw err;
|
||||
}
|
||||
assert.include(contents, 'this should be written to the file' + EOL);
|
||||
assert.equal(contents.indexOf('this should not be written to the file'), -1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user