Fix errors detected by linter

This commit is contained in:
Hornwitser committed 2020-11-12 04:35:22 +01:00
1 parent 770a6664d4
commit f5e28f6815
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -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"),
+2 -2
View File
@@ -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() {