test(windows): align platform coverage ignores

This commit is contained in:
imccyu
2026-07-18 15:55:37 +08:00
parent f62cc439e9
commit 7d28b611b2
4 changed files with 7 additions and 2 deletions

View File

@@ -316,6 +316,7 @@ async function nodeEntryKind(fullPath: string, entry: { isDirectory(): boolean;
try {
const info = await stat(fullPath)
if (info.isDirectory()) return 'directory'
/* v8 ignore else -- the special-file symlink branch relies on POSIX /dev/null. */
if (info.isFile()) return 'file'
/* v8 ignore next -- The special-file symlink fixture relies on POSIX /dev/null. */
return undefined