test: skip helper directories in runtime guardrail scans

This commit is contained in:
Tak Hoffman
2026-04-10 17:39:08 -05:00
parent 1aab686a1a
commit 928c1c3861
2 changed files with 2 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ const DEFAULT_GUARDRAIL_SKIP_PATTERNS = [
/\.suite\.tsx?$/,
/\.e2e\.tsx?$/,
/\.d\.ts$/,
/[\\/](?:__tests__|tests|test-utils|test-support)[\\/]/,
/[\\/](?:__tests__|tests|test-helpers|test-utils|test-support)[\\/]/,
/[\\/][^\\/]*test-helpers(?:\.[^\\/]+)?\.ts$/,
/[\\/][^\\/]*test-utils(?:\.[^\\/]+)?\.ts$/,
/[\\/][^\\/]*test-harness(?:\.[^\\/]+)?\.ts$/,