From 0cf12a3f031bd519ad7b6bad1a34e227978bdde1 Mon Sep 17 00:00:00 2001 From: kumarabhirup Date: Sun, 22 Feb 2026 01:37:38 -0800 Subject: [PATCH] fix(tests): update SKIP_PATTERNS regex to match test-helpers files more accurately --- src/security/temp-path-guard.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/security/temp-path-guard.test.ts b/src/security/temp-path-guard.test.ts index d27dd5c7580..3d28c7e3aa7 100644 --- a/src/security/temp-path-guard.test.ts +++ b/src/security/temp-path-guard.test.ts @@ -10,7 +10,7 @@ const SKIP_PATTERNS = [ /\.e2e\.tsx?$/, /\.d\.ts$/, /[\\/](?:__tests__|tests)[\\/]/, - /[\\/]test-helpers(?:\.[^\\/]+)?\.ts$/, + /[\\/][^/\\]*test-helpers(?:\.[^\\/]+)?\.ts$/, ]; function shouldSkip(relativePath: string): boolean {