diff --git a/packages/workspace/src/core/hasher/hasher.ts b/packages/workspace/src/core/hasher/hasher.ts index 13bc9e48bc76b..12760b0a4baa1 100644 --- a/packages/workspace/src/core/hasher/hasher.ts +++ b/packages/workspace/src/core/hasher/hasher.ts @@ -426,6 +426,10 @@ class ProjectHasher { private isSpec(file: string) { return ( + file.endsWith('.spec.tsx') || + file.endsWith('.test.tsx') || + file.endsWith('-test.tsx') || + file.endsWith('-spec.tsx') || file.endsWith('.spec.ts') || file.endsWith('.test.ts') || file.endsWith('-test.ts') ||