Browse Source

test: gate unreadable directory case to POSIX

creatixchu 1 month ago
parent
commit
56f1a3bde6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/context/file-reference-local/tests/search.spec.ts

+ 1 - 1
packages/context/file-reference-local/tests/search.spec.ts

@@ -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 })