Use detected Factorio version

Remove Factorio_version from the config file and use the detected
version of Factorio instead.
This commit is contained in:
Hornwitser committed 2019-11-21 22:25:11 +01:00
1 parent 27fc68da0f
commit fcae3ef0c1
5 files changed
+20 -7

No files matched your search

+6
View File
@@ -204,5 +204,11 @@ describe("lib/factorio/server", function() {
await assert.rejects(server.init(), new Error("Expected state new but state is init"));
});
});
describe(".version", function() {
it("should return the version detected", function() {
assert.equal(server.version, "0.1.1");
});
});
});
});