test: relax readonly sandbox assertions

This commit is contained in:
ejclaw
2026-04-22 20:56:27 +09:00
parent 94e8f5b2d5
commit a9ca482b14

View File

@@ -138,7 +138,7 @@ describe('claude reviewer runtime guard', () => {
'best-effort',
);
expect(sandbox.failIfUnavailable).toBe(false);
expect(sandbox?.failIfUnavailable).toBe(false);
});
it('keeps non-linux reviewers in best-effort sandbox mode', () => {
@@ -152,7 +152,7 @@ describe('claude reviewer runtime guard', () => {
'best-effort',
);
expect(sandbox.failIfUnavailable).toBe(false);
expect(sandbox?.failIfUnavailable).toBe(false);
});
it('flags mutating shell commands', () => {