mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 07:30:41 +09:00
Move test/temp to temp/test
Move the temporary files generated by the the tests to the top level directory temp.
This commit is contained in:
1 parent
028f00e58a
commit
f9f0e5b5f7
12 files changed
+18
-17
No files matched your search
@@ -32,11 +32,11 @@ let slaveProcess;
|
||||
|
||||
let url = "https://localhost:4443/";
|
||||
let token = jwt.sign({ id: "api" }, "TestSecretDoNotUse");
|
||||
let instancesDir = path.join("test", "temp", "instances");
|
||||
let databaseDir = path.join("test", "temp", "databse");
|
||||
let masterConfigPath = path.join("test", "temp", "master-integration.json");
|
||||
let slaveConfigPath = path.join("test", "temp", "slave-integration.json");
|
||||
let controlConfigPath = path.join("test", "temp", "control-integration.json");
|
||||
let instancesDir = path.join("temp", "test", "instances");
|
||||
let databaseDir = path.join("temp", "test", "databse");
|
||||
let masterConfigPath = path.join("temp", "test", "master-integration.json");
|
||||
let slaveConfigPath = path.join("temp", "test", "slave-integration.json");
|
||||
let controlConfigPath = path.join("temp", "test", "control-integration.json");
|
||||
|
||||
async function exec(...args) {
|
||||
console.log(args[0]);
|
||||
|
||||
@@ -13,7 +13,7 @@ require("./server")
|
||||
|
||||
describe("Integration of lib/factorio/patch", function() {
|
||||
describe("patch()", function() {
|
||||
let savePath = path.join("test", "temp", "integration", "saves", "test.zip");
|
||||
let savePath = path.join("temp", "test", "integration", "saves", "test.zip");
|
||||
it("should patch a freeplay game", async function() {
|
||||
slowTest(this);
|
||||
await factorio.patch(savePath, [{
|
||||
|
||||
@@ -20,7 +20,7 @@ describe("Integration of lib/factorio/server", function() {
|
||||
});
|
||||
|
||||
describe("class FactorioServer", function() {
|
||||
let writePath = path.join("test", "temp", "integration");
|
||||
let writePath = path.join("temp", "test", "integration");
|
||||
let server = new factorio.FactorioServer("factorio", writePath, {});
|
||||
let logFile;
|
||||
|
||||
|
||||
Reference in new issue
Block a user