We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3efdb77 commit 4441228Copy full SHA for 4441228
1 file changed
src/main/ipc/handlers/__tests__/system.test.ts
@@ -14,7 +14,14 @@ const getDirectoryState = vi.fn()
14
const moveVault = vi.fn()
15
const getVaultPath = vi.fn(() => '/current-vault')
16
const getPaths = vi.fn((vaultPath: string) => ({ vaultPath }))
17
-const getRuntimeCache = vi.fn(() => ({ snippets: [] }))
+interface SnippetFileLookup {
18
+ filePath: string
19
+ id: number
20
+}
21
+
22
+const getRuntimeCache = vi.fn((): { snippets: SnippetFileLookup[] } => ({
23
+ snippets: [],
24
+}))
25
const findSnippetById = vi.fn()
26
const preferencesSet = vi.fn()
27
0 commit comments