-
fix(test): remove jsdom pragma + add window stub DOM surface
released this
2026-10-11 20:01:21 +08:00 | 0 commits to main since this releaseA/B fix per WorkBuddy review:
- browser-globals.ts: add addEventListener/removeEventListener/dispatchEvent
to window stub, add compatMode to document stub - Remove // @vitest-environment jsdom from 5 specs that only use
renderToString/createElement (SSR, no DOM needed)
Test Files 131 passed (131), Tests 1367 passed, EXIT=0
Downloads
- browser-globals.ts: add addEventListener/removeEventListener/dispatchEvent