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:
Hornwitser committed 2020-04-03 20:51:28 +02:00
1 parent 028f00e58a
commit f9f0e5b5f7
12 files changed
+18 -17

No files matched your search

+5 -5
View File
@@ -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]);
+1 -1
View File
@@ -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, [{
+1 -1
View File
@@ -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;