fix(collection): finish B02a boundary checks and stage acceptance

This commit is contained in:
maoyingjie
2026-10-25 16:45:07 +08:00
parent c8b0aa26c3
commit ff486fb665
8 changed files with 100 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
/** jsdom has no Element.scrollTo. Supply only the method used by VueUse;
* geometry and visible-window assertions still belong to real browser checks.
* Set up each test realm explicitly so probes work alone and in any order. */
if (
typeof Element !== "undefined" &&
typeof Element.prototype.scrollTo !== "function"
) {
Element.prototype.scrollTo = () => {};
}