meteor-coverage icon indicating copy to clipboard operation
meteor-coverage copied to clipboard

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

Open jankapunkt opened this issue 4 years ago • 0 comments

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?

jankapunkt avatar Apr 17 '21 06:04 jankapunkt