add summary line to html runner

This commit is contained in:
Geoff Doty 2018-06-06 06:36:42 -04:00
parent 8b2daee21f
commit 5b9b9e5210
1 changed files with 2 additions and 0 deletions

View File

@ -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>