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, exiting with code 1 #7842

Closed
iondrimba opened this issue Feb 9, 2019 · 4 comments
Closed

No tests found, exiting with code 1 #7842

iondrimba opened this issue Feb 9, 2019 · 4 comments

Comments

@iondrimba
Copy link

iondrimba commented Feb 9, 2019

💥 Regression Report

After Jest update from 23.6.0 to 24.1.0, my tests at AppVeyor stopped being found:

Last working version

23.6.0

Worked up to version:
23.6.0

Stopped working in version:
24.1.0,

To Reproduce

Steps to reproduce the behavior:

https://ci.appveyor.com/project/iondrimba/react-weather-app/builds/22247241

Expected behavior

A clear and concise description of what you expected to happen.

Link to repl or repo (highly encouraged)

https://github.com/iondrimba/react-weather-app
https://ci.appveyor.com/project/iondrimba/react-weather-app/builds/22247241

Please provide either a repl.it demo or a minimal repository on GitHub.

Issues without a reproduction link are likely to stall.

Run npx envinfo --preset jest

Paste the results here:

npx: installed 1 in 1.468s
  System:
    OS: Windows 8.1
    CPU: (2) ia32 Intel(R) Xeon(R) CPU E5-2697 v3 @ 2.60GHz
  Binaries:
    Node: 11.9.0 - C:\Program Files (x86)\nodejs\node.EXE
    Yarn: 1.9.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 6.7.0 - C:\Users\appveyor\AppData\Roaming\npm\npm.CMD
@jeysal
Copy link
Contributor

jeysal commented Feb 9, 2019

This is likely due to the (breaking change) upgrade to Micromatch 3: #6650
Try using the default testMatch https://jestjs.io/docs/en/configuration#testmatch-array-string which - after a quick look at your repo - should match your .spec.js files

@iondrimba
Copy link
Author

Thanks @jeysal will try that out 👍

@iondrimba
Copy link
Author

iondrimba commented Feb 9, 2019

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants