- Added test for getFolderWaypoint file read error handling (line 777) - Documented unreachable defensive code in stat() (lines 452-456) - Documented unreachable defensive code in exists() (lines 524-528) - Added istanbul ignore comments for unreachable defensive returns Analysis: - Lines 452-456 and 524-528 are unreachable because getAbstractFileByPath only returns TFile, TFolder, or null - all cases are handled before the defensive fallback code - Line 777 is now covered by testing file read errors in getFolderWaypoint Coverage: vault-tools.ts now at 100% statement coverage (99.8% tools overall) Test count: 84 vault-tools tests, 505 total tests passing
46 KiB
46 KiB