mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-13 00:32:30 +02:00
fix: resolve blocker PR validation regressions
This commit is contained in:
parent
1d0aa5ac2a
commit
00bc7f30be
3 changed files with 4 additions and 4 deletions
|
|
@ -335,8 +335,8 @@ async function runTests() {
|
|||
}
|
||||
|
||||
const combined = stderr.join('');
|
||||
assert.ok(combined.includes('\"eventType\":\"hook_input_truncated\"'), 'Should emit truncation event');
|
||||
assert.ok(combined.includes('\"sizeLimitBytes\":1024'), 'Should record the truncation limit');
|
||||
assert.ok(combined.includes('"eventType":"hook_input_truncated"'), 'Should emit truncation event');
|
||||
assert.ok(combined.includes('"sizeLimitBytes":1024'), 'Should record the truncation limit');
|
||||
assert.ok(!combined.includes('rm -rf /tmp/important'), 'Should not leak raw command text to governance logs');
|
||||
})) passed += 1; else failed += 1;
|
||||
if (await test('run() can detect multiple event types in one input', async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue