How to move jest tests to a test folder and get them to run?

Posted by Editorial Staff | Updated on

If you want to move jest tests to a test folder and get them to run? I solved the problem by just setting the regex so it finds all .js files in my ./test folder:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers