test: relax readonly sandbox assertions
This commit is contained in:
@@ -138,7 +138,7 @@ describe('claude reviewer runtime guard', () => {
|
|||||||
'best-effort',
|
'best-effort',
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(sandbox.failIfUnavailable).toBe(false);
|
expect(sandbox?.failIfUnavailable).toBe(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('keeps non-linux reviewers in best-effort sandbox mode', () => {
|
it('keeps non-linux reviewers in best-effort sandbox mode', () => {
|
||||||
@@ -152,7 +152,7 @@ describe('claude reviewer runtime guard', () => {
|
|||||||
'best-effort',
|
'best-effort',
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(sandbox.failIfUnavailable).toBe(false);
|
expect(sandbox?.failIfUnavailable).toBe(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('flags mutating shell commands', () => {
|
it('flags mutating shell commands', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user