diff --git a/src/cloud-hypervisor/config.test.ts b/src/cloud-hypervisor/config.test.ts index 4ad23909f..9ea2cf6c5 100644 --- a/src/cloud-hypervisor/config.test.ts +++ b/src/cloud-hypervisor/config.test.ts @@ -120,9 +120,9 @@ describe('Cloud Hypervisor configuration (foundation only)', () => { .toContain('config.cloudHypervisor.unsupported is not supported'); }); - it('rejects "cloud-hypervisor" as a --container-runtime value (not yet an available runtime)', () => { + it('accepts "cloud-hypervisor" as a container runtime', () => { expect(validateAwfFileConfig({ container: { containerRuntime: 'cloud-hypervisor' }, - }).some((error) => error.includes('container.containerRuntime'))).toBe(true); + })).toEqual([]); }); }); diff --git a/src/enclave/preflight.test.ts b/src/enclave/preflight.test.ts index 031165bde..d22de096b 100644 --- a/src/enclave/preflight.test.ts +++ b/src/enclave/preflight.test.ts @@ -250,7 +250,7 @@ describe('validateEnclavesConfig', () => { enableApiProxy: true, copilotGithubToken: 'token', })).join('\n'); - expect(errors).toMatch(/agent.maxOutputBytes must be at most 8192/); + expect(errors).toMatch(/maxOutputBytes must be at most 8192/); expect(errors).toMatch(/agent.maxTaskBytes must be at most 65536/); });