fix(tests): update SKIP_PATTERNS regex to match test-helpers files more accurately

This commit is contained in:
kumarabhirup 2026-02-22 01:37:38 -08:00
parent e96bb0f59e
commit 0cf12a3f03
No known key found for this signature in database
GPG Key ID: DB7CA2289CAB0167

View File

@ -10,7 +10,7 @@ const SKIP_PATTERNS = [
/\.e2e\.tsx?$/,
/\.d\.ts$/,
/[\\/](?:__tests__|tests)[\\/]/,
/[\\/]test-helpers(?:\.[^\\/]+)?\.ts$/,
/[\\/][^/\\]*test-helpers(?:\.[^\\/]+)?\.ts$/,
];
function shouldSkip(relativePath: string): boolean {