mirror of https://github.com/n2geoff/testit.git
add summary line to html runner
This commit is contained in:
parent
8b2daee21f
commit
5b9b9e5210
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
r.pass.forEach((p) => document.write(`<br>${p}`));
|
r.pass.forEach((p) => document.write(`<br>${p}`));
|
||||||
r.fail.forEach((f) => document.write(`<br><b>${f}</b>`));
|
r.fail.forEach((f) => document.write(`<br><b>${f}</b>`));
|
||||||
|
|
||||||
|
document.write(`<p>tests ${r.pass.length + r.fail.length} pass ${r.pass.length} fail ${r.fail.length}`);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue