How can I exclude folders and files (by path) from coverage report when using mocha and instanbul?
I want to exclude by a configuration and not
/*istanbul ignore next*/
You can ignore files matching a certain pattern using the
istanbul help cover ... -x <exclude-pattern> [-x <exclude-pattern>] one or more fileset patterns e.g. "**/vendor/**" ...