diff --git a/test/lib/factorio/server.js b/test/lib/factorio/server.js index 424b2f9b..70291e88 100644 --- a/test/lib/factorio/server.js +++ b/test/lib/factorio/server.js @@ -172,6 +172,7 @@ describe("lib/factorio/server", function() { describe("constructor()", function() { it("should handle dashes in write path with strapPaths enabled", function() { + // eslint-disable-next-line no-new new libFactorio.FactorioServer( path.join("test", "file", "factorio"), path.join("temp", "test", "server-1"), diff --git a/test/lib/link/link.js b/test/lib/link/link.js index b2152861..11bd20c5 100644 --- a/test/lib/link/link.js +++ b/test/lib/link/link.js @@ -41,8 +41,8 @@ describe("lib/link/link", function() { assert.deepEqual(testConnector.sentMessages, [{ type: "unhandled_response", seq: testConnector._seq - 1, - data: { seq: 1, error: "No validator for unhandled_request on source-target" } }, - ]) + data: { seq: 1, error: "No validator for unhandled_request on source-target" }, + }]); }); describe(".setValidator()", function() {