mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-13 03:48:06 +01:00
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:
1 parent
1c96df1a9d
commit
44d380c494
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user