test: gate unreadable directory case to POSIX

This commit is contained in:
creatixchu committed 2026-08-27 21:23:49 +08:00
1 parent 318bf7d2c1
commit 56f1a3bde6
1 file changed
+1 -1
@@ -199,7 +199,7 @@ describe('WorkspaceFileSearch', () => {
})
})
it('lets an unreadable subtree cost only its own candidates', async () => {
it.skipIf(process.platform === 'win32')('lets an unreadable subtree cost only its own candidates', async () => {
const root = await workspace()
const locked = join(root, 'locked')
await mkdir(locked, { recursive: true })