mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +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() {
|
||||
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"),
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user