git.iko.soy/typeable/elm-ui
on master help sign in
reenable all test viewer
1ed9f79Elm UI Automation
tests-rendering/automation/build.js+1
@@ -68,6 +68,7 @@ async function get_module_name(config) {
68}
68}
69
69
70async function create_runner(config) {
70async function create_runner(config) {
71+ console.log("create runner", config);
71 const elm_entry_module = fs.readFileSync(config.elm, "utf8");
72 const elm_entry_module = fs.readFileSync(config.elm, "utf8");
72
73
73 let module_name = elm_entry_module
74 let module_name = elm_entry_module
tests-rendering/automation/view.js+2−1
@@ -8,6 +8,7 @@ const chokidar = require("chokidar");
8const http = require("http");
8const http = require("http");
9
9
10var filepath = null;
10var filepath = null;
11+var test_filepath = null;
11program
12program
12 .option("--all", "run all the tests")
13 .option("--all", "run all the tests")
13 .option("--debug", "run with debug on")
14 .option("--debug", "run with debug on")
@@ -18,7 +19,7 @@ program
18 .parse(process.argv);
19 .parse(process.argv);
19
20
20(async () => {
21(async () => {
21− if (test_filepath == null && !program.run) {
22+ if (test_filepath && test_filepath == null && !program.run) {
22 console.log("Open Cases");
23 console.log("Open Cases");
23 console.log("");
24 console.log("");
24 fs.readdirSync("./tests-rendering/cases/open").forEach((file) => {
25 fs.readdirSync("./tests-rendering/cases/open").forEach((file) => {