I'm having this issue with the latest Jest version installed (25.1.0), it was fine when I was using Jest 24.9.0. These are 1 release away from each other Releases
angular-builders/jest version is 8.3.2.
Running:
ng test base-lib
Results in:
testMatch: /Users/user/Documents/angular-app/projects/base-lib/**/+(*.)+(spec|test).+(ts|js)?(x) - 0 matches
testPathIgnorePatterns: /node_modules/ - 2796 matches
testRegex: - 0 matches
_Originally posted by @jonathanlie in https://github.com/just-jeb/angular-builders/issues/615#issuecomment-580065774_
I had the same issue as above, after updating 24.9.0 to 25.1.0
Seems that testMatch should be adjusted as follow: **/*(*.)@(spec|test).[tj]s?(x)
p.s. The related jest discussion can be found here: testMatch on Windows
_Originally posted by @it-ias in https://github.com/just-jeb/angular-builders/issues/615#issuecomment-580207632_
thank you for the swift response, looking forward to the next release fixing this!
Should be fixed in v9.0.0-beta.3. Please confirm.
Most helpful comment
I had the same issue as above, after updating 24.9.0 to 25.1.0
Seems that testMatch should be adjusted as follow:
**/*(*.)@(spec|test).[tj]s?(x)p.s. The related jest discussion can be found here: testMatch on Windows
_Originally posted by @it-ias in https://github.com/just-jeb/angular-builders/issues/615#issuecomment-580207632_