I am trying to run some Mocha tests within my Node.js app.
Here is my folder structure:
compute/ folder1/ app/ tests/ mytest.js folder2/ app/ tests/ mytest2.js I got a package.json in both with mocha installed.
When I try to start a test with yarn test, I got an error
Warning: Could not find any test files matching pattern: test
No test files found
How can I manage to run it?
Because my folders' names are "tests" and not "test" as in the default and they are not at source.