test(runtime): pin inserted trigger binding

req: runtime/007
This commit is contained in:
slhx agent
2026-07-19 23:12:35 +02:00
parent 895572b735
commit c4a6edfed1
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -148,6 +148,11 @@ fn runtime_supports_tiny_delay_and_revealed_scheduling() {
assert!(source.contains("data-hemx-revealed"));
assert!(source.contains("typeof IntersectionObserver === \"undefined\""));
assert!(source.contains("schedule(entry.target, \"revealed\")"));
assert!(source.contains("record.addedNodes.forEach((node) =>"));
assert!(source.contains("descendantRoots(node).forEach(bindRoot)"));
assert!(source.contains("const owner = rootOf(node.parentElement)"));
assert!(source.contains("bindPolling(owner)"));
assert!(source.contains("bindRevealed(owner)")); // req: runtime/007 test
}
#[test]