Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No tests found on Jest 25 #673

Closed
just-jeb opened this issue Jan 30, 2020 · 3 comments · Fixed by #675
Closed

No tests found on Jest 25 #673

just-jeb opened this issue Jan 30, 2020 · 3 comments · Fixed by #675
Labels
bug Something isn't working workaround-provided
Milestone

Comments

@just-jeb
Copy link
Owner

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 #615 (comment)

@just-jeb
Copy link
Owner Author

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 #615 (comment)

@just-jeb just-jeb changed the title Not test are found on Jest 25 No test are found on Jest 25 Jan 30, 2020
@just-jeb just-jeb changed the title No test are found on Jest 25 No test found on Jest 25 Jan 30, 2020
@just-jeb just-jeb changed the title No test found on Jest 25 No tests found on Jest 25 Jan 30, 2020
@just-jeb just-jeb added this to To do in Jest builder via automation Jan 30, 2020
@just-jeb just-jeb added bug Something isn't working workaround-provided labels Jan 30, 2020
@just-jeb just-jeb added this to the v9 milestone Jan 30, 2020
@just-jeb just-jeb pinned this issue Jan 30, 2020
@jonathanlie
Copy link

thank you for the swift response, looking forward to the next release fixing this!

Jest builder automation moved this from To do to Done Feb 1, 2020
@just-jeb just-jeb unpinned this issue Feb 1, 2020
@just-jeb
Copy link
Owner Author

just-jeb commented Feb 1, 2020

Should be fixed in v9.0.0-beta.3. Please confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working workaround-provided
Projects
Jest builder
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants