mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 15:14:52 +09:00
Fix path for export test
Fix the path tested for the export-data command test incorrectly using the project root instead of temp/test.
This commit is contained in:
1 parent
7bba6cbde6
commit
c5a14db8ea
1 file changed
+3
-1
@@ -59,8 +59,10 @@ describe("Integration of Clusterio", function() {
|
||||
describe("instance export-data", function() {
|
||||
it("exports the data", async function() {
|
||||
slowTest(this);
|
||||
let exportPath = path.join("temp", "test", "static", "export", "locale.json");
|
||||
await fs.remove(exportPath);
|
||||
await execCtl("instance export-data test");
|
||||
assert(await fs.exists(path.join("static", "export", "locale.json")), "Export was not created");
|
||||
assert(await fs.exists(exportPath), "Export was not created");
|
||||
await checkInstanceStatus(44, "stopped");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user