mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-09 22:32:53 +00:00
fix(tests): remediate known issues in LoginModal and VideoCard tests
- Fix `LoginModalController` async activity leak by binding `setTimeout` to `this.window`. - Fix `VideoCard` moderation test by explicitly updating `ModerationDecorator` settings. - Verify `popover.spec.ts` issue persists and update `KNOWN_ISSUES.md`. - Update `KNOWN_ISSUES.md` to reflect fixes and current status. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
4f13d49f66
commit
cc9064617e
4 files changed
+13
-9
No files matched your search
@@ -1571,7 +1571,9 @@ export default class LoginModalController {
|
||||
}
|
||||
|
||||
// Kick off the handshake generation
|
||||
this.nip46AutoStartTimer = setTimeout(autoStart, 0);
|
||||
if (this.window && typeof this.window.setTimeout === "function") {
|
||||
this.nip46AutoStartTimer = this.window.setTimeout(autoStart, 0);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user