Release branch for 4.0.0.
This commit is contained in:
jubnl
2026-08-27 13:22:39 +02:00
committed by GitHub
parent e60427f813
commit 77dddd5e8a
3355 changed files with 403744 additions and 67215 deletions
@@ -360,6 +360,11 @@ describe('API client interceptors', () => {
await expect(backupApi.download('backup.zip')).resolves.toBeUndefined();
expect(createObjectURL).toHaveBeenCalled();
expect(clickSpy).toHaveBeenCalled();
// The shared helper appends the anchor (Firefox ignores a click on a
// detached one) and revokes the object URL a tick later, not in-line.
expect(revokeObjectURL).not.toHaveBeenCalled();
await new Promise(r => setTimeout(r, 150));
expect(revokeObjectURL).toHaveBeenCalled();
vi.restoreAllMocks();