mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 16:13:12 +09:00
Fix errors detected by linter
This commit is contained in:
1 parent
770a6664d4
commit
f5e28f6815
2 files changed
+3
-2
No files matched your search
@@ -172,6 +172,7 @@ describe("lib/factorio/server", function() {
|
|||||||
|
|
||||||
describe("constructor()", function() {
|
describe("constructor()", function() {
|
||||||
it("should handle dashes in write path with strapPaths enabled", function() {
|
it("should handle dashes in write path with strapPaths enabled", function() {
|
||||||
|
// eslint-disable-next-line no-new
|
||||||
new libFactorio.FactorioServer(
|
new libFactorio.FactorioServer(
|
||||||
path.join("test", "file", "factorio"),
|
path.join("test", "file", "factorio"),
|
||||||
path.join("temp", "test", "server-1"),
|
path.join("temp", "test", "server-1"),
|
||||||
|
|||||||
@@ -41,8 +41,8 @@ describe("lib/link/link", function() {
|
|||||||
assert.deepEqual(testConnector.sentMessages, [{
|
assert.deepEqual(testConnector.sentMessages, [{
|
||||||
type: "unhandled_response",
|
type: "unhandled_response",
|
||||||
seq: testConnector._seq - 1,
|
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() {
|
describe(".setValidator()", function() {
|
||||||
|
|||||||
Reference in new issue
Block a user