From 51a30613a345a62c4da37243df997dbc827c4a40 Mon Sep 17 00:00:00 2001 From: Andrew Beal Date: Sun, 7 Dec 2025 13:45:20 +0000 Subject: [PATCH] test: update FileSystemService error message assertion --- __tests__/Services/FileSystemService.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/Services/FileSystemService.test.ts b/__tests__/Services/FileSystemService.test.ts index 77df82f..5799af5 100644 --- a/__tests__/Services/FileSystemService.test.ts +++ b/__tests__/Services/FileSystemService.test.ts @@ -96,7 +96,7 @@ describe('FileSystemService', () => { const result = await fileSystemService.readFile('nonexistent.md'); expect(result).toBeInstanceOf(Error); - expect((result as Error).message).toContain('Path is a folder, not a file'); + expect((result as Error).message).toContain('File does not exist: '); expect(mockVaultService.read).not.toHaveBeenCalled(); });