There seems to be some issue with coverageConfig.exclude. It is part of the finalConfig which is passed out of parseConfig.js, but does not seem to exclude files from the coverage report (reporter: json).
If I provide this configuration, I still get files in __wds-outside-root__ in my coverage report.
export default ({
nodeResolve: true,
coverageConfig: {
report: true,
reportDir: 'coverage',
exclude: ['**/node_modules/**/*', '**/web_modules/**/*', '**/__wds-outside-root__/**/*'],
reporters: ['text-summary', 'json-summary']
}
});
We have many components and want to collect coverage on each independently.
There seems to be some issue with
coverageConfig.exclude. It is part of thefinalConfigwhich is passed out of parseConfig.js, but does not seem to exclude files from the coverage report (reporter: json).If I provide this configuration, I still get files in
__wds-outside-root__in my coverage report.We have many components and want to collect coverage on each independently.