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>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-13 14:58:33 +00:00
1 parent 1c96df1a9d
commit 44d380c494
1 file changed
+1 -1
+1 -1
View File
@@ -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);