From 44d380c494816ea915db718c7e3e98889e8f3256 Mon Sep 17 00:00:00 2001 From: garrytan Date: Tue, 13 Oct 2026 14:58:33 +0000 Subject: [PATCH] test(autoplan-admission): the PATH-Bun refusal case needs the POSIX Capy host stub; skip it on Windows Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/autoplan-admission.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/autoplan-admission.test.ts b/test/autoplan-admission.test.ts index fe833df49..8fd230d4c 100644 --- a/test/autoplan-admission.test.ts +++ b/test/autoplan-admission.test.ts @@ -59,7 +59,7 @@ describe('admission', () => { } }); - test('an unattended session with the PATH Bun below the supported minimum refuses even with an ok verdict', () => { + test.skipIf(process.platform === 'win32')('an unattended session with the PATH Bun below the supported minimum refuses even with an ok verdict (the Capy host\'s bash bun stub cannot shadow bun.exe on Windows)', () => { const r = make({ launched: false }); const { res } = first(r, 'oldbun'); expect(res.status).toBe(3);