Skip to content

Commit

Permalink
Fix logger alias in tests for MM 2.15
Browse files Browse the repository at this point in the history
  • Loading branch information
ianperrin committed Apr 6, 2021
1 parent a62ba61 commit 8156ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/node_helper.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const expect = require("chai").expect;
const moduleAlias = require("module-alias");
moduleAlias.addAlias("node_helper", "../../js/node_helper.js");
moduleAlias.addAliases({ node_helper: "../../js/node_helper.js", logger: "../js/logger.js" });
var Module = require("../node_helper.js");
var helper = new Module();
helper.setName("MMM-ModuleScheduler");
Expand Down

0 comments on commit 8156ec7

Please sign in to comment.