JS: More aggressive test file classification

This commit is contained in:
Asger F
2024-11-01 13:18:32 +01:00
parent 01669908f2
commit d1c9e47d23

View File

@@ -61,6 +61,8 @@ predicate isTestFile(File f) {
)
or
f.getAbsolutePath().regexpMatch(".*/__(mocks|tests)__/.*")
or
f.getBaseName().matches("%.test.%")
}
/**