fix: eliminate non-null assertions, fix broken test, add error-path coverage

This commit is contained in:
hugo committed 2026-03-01 13:07:50 +01:00
1 parent 0618c7c532
commit 089ed70a62
3 files changed
+86 -22

No files matched your search

-1
View File
@@ -9,7 +9,6 @@ import { describe, it, expect, beforeEach, vi, afterEach } from 'vitest';
// Track mock state
let safeStorageAvailable = true;
const encryptedBuffers = new Map<string, Buffer>();
// Mock Electron's safeStorage
vi.mock('electron', () => ({