Returns true if the given file path lives inside a __tests__ or __mocks__
directory or carries a .test.* / .spec.* extension.
Used both alongside glob ignore patterns and as a post-glob filter so that
test/spec/mock files never leak into generated class-registration manifests
regardless of whether src/ or dist/ is scanned.
Returns true if the given file path lives inside a
__tests__or__mocks__directory or carries a.test.*/.spec.*extension.Used both alongside glob ignore patterns and as a post-glob filter so that test/spec/mock files never leak into generated class-registration manifests regardless of whether
src/ordist/is scanned.