mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
- Refactor `tests/nostr/videoEventBuffer.test.mjs` to safely restore `global.document` using try...finally. - Refactor `tests/ui/engagement-controller.test.mjs` to safely delete `global.window` using try...finally. - Fixes potential test pollution that could cause flakes in shared environments. Ran `npm run test:unit` for verification. Co-authored-by: PR0M3TH3AN <[email protected]>