fix(test): remove jsdom pragma + add window stub DOM surface
A/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
This commit is contained in:
1 parent
2b8ba87d81
commit
5a715acb85
6 files changed
+6
-5
No files matched your search
@@ -1,4 +1,3 @@
|
||||
// @vitest-environment jsdom
|
||||
/**
|
||||
* apes:* tab registration tests (Phase 1/1b, C6: 3 tabs). The fork registers
|
||||
* its three information-layer tabs (agents / apps / profile) through the same
|
||||
|
||||
Reference in new issue
Block a user