mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 07:24:52 +09:00
Make FactorioServer.exampleSettings static
Convert the exampleSettings method to be a static method.
This commit is contained in:
1 parent
039b41d3e6
commit
a3eb39712c
3 files changed
+5
-4
No files matched your search
@@ -45,7 +45,7 @@ describe("Integration of lib/factorio/server", function() {
|
||||
describe(".exampleSettings()", function() {
|
||||
let settings;
|
||||
it("returns an object", async function() {
|
||||
settings = await server.exampleSettings();
|
||||
settings = await factorio.FactorioServer.exampleSettings(path.join("factorio", "data"));
|
||||
assert(typeof settings === "object");
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user