mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
- Explicitly nullify `service.db` after closing to prevent reuse or stale references. - Add `setImmediate` yield in `t.afterEach` to allow `fake-indexeddb` connection close events to propagate before `deleteDatabase`. - Fixes `[LinkPreviewService Test] Database deletion blocked` causing test timeouts. Co-authored-by: PR0M3TH3AN <[email protected]>