test: cast readonly sandbox expectation through unknown
This commit is contained in:
@@ -136,7 +136,7 @@ describe('claude reviewer runtime guard', () => {
|
|||||||
['/repo/work'],
|
['/repo/work'],
|
||||||
'linux',
|
'linux',
|
||||||
'best-effort',
|
'best-effort',
|
||||||
) as { failIfUnavailable?: boolean };
|
) as unknown as { failIfUnavailable?: boolean };
|
||||||
|
|
||||||
expect(sandbox.failIfUnavailable).toBe(false);
|
expect(sandbox.failIfUnavailable).toBe(false);
|
||||||
});
|
});
|
||||||
@@ -150,7 +150,7 @@ describe('claude reviewer runtime guard', () => {
|
|||||||
['/repo/work'],
|
['/repo/work'],
|
||||||
'darwin',
|
'darwin',
|
||||||
'best-effort',
|
'best-effort',
|
||||||
) as { failIfUnavailable?: boolean };
|
) as unknown as { failIfUnavailable?: boolean };
|
||||||
|
|
||||||
expect(sandbox.failIfUnavailable).toBe(false);
|
expect(sandbox.failIfUnavailable).toBe(false);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user