-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Description
🐛 Bug Report
Jest cant find any test with 23.2.0 . If revert back to 23.1.0 - it find all test
No tests found
In C:\Dev\PycharmProjects\rasimplefront\ra-front-simple-nu
145 files checked.
testMatch: C:\Dev\PycharmProjects\rasimplefront\ra-front-simple-nu\(tests\unit\**\*.spec.(js|jsx|ts|tsx)|**\__tests__\*.(js|jsx|ts|tsx)) - 0 matches
testPathIgnorePatterns: \\node_modules\\ - 145 matches
To Reproduce
I have following testMatch in jest.config
testMatch: [
'<rootDir>/(tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx))'
],
Example of test file location tests\unit\components\loginForm.spec.js
Expected behavior
tests found and executed like in 23.1.0
Run npx envinfo --preset jest
System:
OS: Windows 10
CPU: x64 AMD Ryzen 7 1700X Eight-Core Processor
Binaries:
Yarn: 1.7.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.1.0 - C:\Program Files\nodejs\npm.CMDsqal, erikrenberg, engineersamuel, saggggo, doug2k1 and 17 more
Metadata
Metadata
Assignees
Labels
No labels