Skip to content

Commit b90331d

Browse files
nullvariantclaude
andauthored
test: add operationGuard tests to test runner (#120)
Add missing operationGuard.test.ts import and execution to runTests.ts. This ensures operation guard tests are included in the test suite, improving coverage from 92.82% to 93.15%. πŸ–₯️ IDE: [Cursor](https://cursor.sh) πŸ”Œ Extension: [Claude Code](https://claude.ai/download) Model-Raw: claude-opus-4-5-20251101 Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 16bef9b commit b90331d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

β€Žextensions/git-id-switcher/src/test/runTests.tsβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { runConfigChangeDetectorTests } from './configChangeDetector.test';
2121
import { runCommandAllowlistTests } from './commandAllowlist.test';
2222
import { runDocumentationTests } from './documentation.test';
2323
import { runWorkspaceTrustTests } from './workspaceTrust.test';
24+
import { runOperationGuardTests } from './operationGuard.test';
2425

2526
async function main(): Promise<void> {
2627
console.log('╔════════════════════════════════════════════╗');
@@ -79,6 +80,9 @@ async function main(): Promise<void> {
7980
// Run workspace trust tests
8081
await runWorkspaceTrustTests();
8182

83+
// Run operation guard tests
84+
await runOperationGuardTests();
85+
8286
console.log('╔════════════════════════════════════════════╗');
8387
console.log('β•‘ πŸŽ‰ All Security Tests Passed! β•‘');
8488
console.log('β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•\n');

0 commit comments

Comments
Β (0)