converted date file appender tests to mocha
This commit is contained in:
@@ -136,7 +136,9 @@ function dispatch(event) {
|
||||
|
||||
function load(file) {
|
||||
debug("loading ", file);
|
||||
return JSON.parse(fs.readFileSync(file, "utf-8"));
|
||||
var contents = fs.readFileSync(file, "utf-8");
|
||||
debug("file contents ", contents);
|
||||
return JSON.parse(contents);
|
||||
}
|
||||
|
||||
function configure(configurationFileOrObject) {
|
||||
|
||||
Reference in New Issue
Block a user