serut / meteor-coverage

Server and client coverage for Meteor
MIT License
54 stars 14 forks source link

.tests.js files are not excluded when not under /tests folder #84

Open jankapunkt opened 3 years ago

jankapunkt commented 3 years ago

I followed the README instructions to run my coverage but all .tests.js files are included. Even explicit exclude pattern in .coverage do not work:

"exclude": [
  "**/tests/*",
  "/**/*tests*"
]

The Meteor project runs the tests from the tests folder and imports the tests files from the imports folder. When placing the test files under the /test folder they are ignored. However we do not want to use such structure but place test files near the original files.

What can I do here?