@@ -8,6 +8,7 @@ const chokidar = require("chokidar");
88const http = require("http");
99
1010var filepath = null;
11+var test_filepath = null;
1112program
1213 .option("--all", "run all the tests")
1314 .option("--debug", "run with debug on")
@@ -18,7 +19,7 @@ program
1819 .parse(process.argv);
1920
2021(async () => {
21− if (test_filepath == null && !program.run) {
22+ if (test_filepath && test_filepath == null && !program.run) {
2223 console.log("Open Cases");
2324 console.log("");
2425 fs.readdirSync("./tests-rendering/cases/open").forEach((file) => {