mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 23:40:23 +00:00
test: skip helper directories in runtime guardrail scans
This commit is contained in:
@@ -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$/,
|
||||
|
||||
Reference in New Issue
Block a user