test(browser): drive a console error through to the spec

Claude-Session: https://claude.ai/code/session_01ShuAy8q8ZfPi8KHxwc8JpQ
This commit is contained in:
pj committed 2026-08-16 01:23:58 +05:30
1 parent beb036d2c1
commit fdc616247a
3 files changed
+204

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>console-levels</title>
</head>
<body>
<button id="press">press</button>
<div id="count">0</div>
<script>
console.error("boom from the page");
console.warn("a warning");
console.log("a plain log");
console.debug("a debug line");
console.info("an info line");
console.table({ unmapped: 1 });
let presses = 0;
document.getElementById("press").addEventListener("click", function () {
presses += 1;
document.getElementById("count").textContent = String(presses);
});
</script>
</body>
</html>
+6
View File
@@ -0,0 +1,6 @@
import { taps } from "@sanderling/spec";
import { noLogcatErrors } from "@sanderling/spec/defaults/properties";
export const properties = { noLogcatErrors };
export const actionsRoot = taps;