Mocha is not running all UT when any test is in sub folder
kmorcinek opened this issue · comments
Right now all UT are in folder /tests
. When any new UT is created in sub folder, only that new test is running after npm test
.
In package.json
there is the default command for running tests:
"scripts": {
"test": "mocha -r ts-node/register tests/**/*.test.ts",
Reproduction can be found on branch https://github.com/kmorcinek/conqueror-browser-spy/runs/1270882356?check_suite_focus=true where only 2 UT from SeasonsTest
were executed.