mirror of
https://github.com/affaan-m/ECC.git
synced 2026-12-06 23:24:01 +09:00
test(antigravity): assert hook runner status to satisfy unused var lint check
This commit is contained in:
1 parent
580b41160a
commit
df742084cc
1 file changed
+1
@@ -280,6 +280,7 @@ test('rejects execution of decoy scripts planted in unrelated project directorie
|
||||
env: cleanEnv,
|
||||
});
|
||||
|
||||
assert.strictEqual(result.status, 0, 'Hook runner must succeed and fail open');
|
||||
// Sentinel file must NOT have been created!
|
||||
assert.strictEqual(fs.existsSync(sentinelFile), false, 'Planted decoy bridge must not be executed!');
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user