Jest "No tests found, exiting with code 1" error on Windows 10 in React Redux application
I am a bloody idiot and I didn't pay attention to the details.
Jest is looking for test.js
specifically. Not testS.js
. My files were labeled as tests.js
. It worked inside __tests__/
because Jest just looks for anything inside there.
I got it working just fine now, and it shall remain up as a testament to me not looking at the specifics of the regex matches.
From my side, I was getting this error because I had placed myself (cd) in the directory where the chromeDriver was installed, so as not to have to add its path to $Path. After I added chromeDriver to $Path, and placed myself in the directory of my project, everything went fine.