Add fetch controller tests

This commit is contained in:
Andras Schmelczer 2025-11-23 11:03:40 +00:00
parent 56c77dc3f6
commit 12d8d15572
3 changed files with 192 additions and 2 deletions

View file

@ -65,6 +65,10 @@ export class FetchController {
public startReset(): void {
this.isResetting = true;
this.rejectUntil(new SyncResetError());
// Catch unhandled rejection if no fetches are waiting
this.until.catch(() => {
// Intentionally ignore - this rejection is handled by waiting fetches
});
}
/**