git.iko.soy/typeable/elm-ui
on master help sign in
reenable all test viewer
commit1ed9f79d94059e94a4ad76eb407cf03ea876d9ec authorElm UI Automation <automation@elm-ui.com> dateFri 15 May 2020, 22:30 (6 years ago) parent8190467
2 files changed+3−1
tests-rendering/automation/build.js+1 tests-rendering/automation/view.js+2−1
tests-rendering/automation/build.js+1
@@ -68,6 +68,7 @@ async function get_module_name(config) {
6868}
6969
7070async function create_runner(config) {
71+ console.log("create runner", config);
7172 const elm_entry_module = fs.readFileSync(config.elm, "utf8");
7273
7374 let module_name = elm_entry_module
tests-rendering/automation/view.js+2−1
@@ -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) => {