提交 899a62d5 编写于 作者: R Ryan Dahl

Print test name before it fails.

上级 cfa54cab
......@@ -72,6 +72,7 @@ async function runTests() {
for (let i = 0; i < tests.length; i++) {
const { fn, name } = tests[i];
let result = green_ok();
console.log("test", name);
try {
await fn();
passed++;
......@@ -83,7 +84,8 @@ async function runTests() {
break;
}
}
console.log("test", name, "...", result);
// TODO Do this on the same line as test name is printed.
console.log("...", result);
}
// TODO counts for ignored , measured, filtered.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册