mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-03 03:27:10 +00:00
test(browser): drive a console error through to the spec
Claude-Session: https://claude.ai/code/session_01ShuAy8q8ZfPi8KHxwc8JpQ
This commit is contained in:
1 parent
beb036d2c1
commit
fdc616247a
3 files changed
+204
No files matched your search
+24
@@ -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>
|
||||
@@ -0,0 +1,6 @@
|
||||
import { taps } from "@sanderling/spec";
|
||||
import { noLogcatErrors } from "@sanderling/spec/defaults/properties";
|
||||
|
||||
export const properties = { noLogcatErrors };
|
||||
|
||||
export const actionsRoot = taps;
|
||||
Reference in new issue
Block a user