microsoft / microsoft/vscode-test-cli
`vscode-test-cli` not excluding files from coverage report
Open
@connor4312 is already working on this.
Since May 6, 2024.
bug
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 16
- Avg merge
- 10h 57m
- Merged PRs (30d)
- 2
Description
I have the following configuration file:
/** @type {import('@vscode/test-cli').IConfigurationWithGlobalOptions} */
export default defineConfig({
/** @type {import('@vscode/test-cli').TestConfiguration[]} */
tests: [
{
files: [
`__tests__/__integration__/out/__tests__/__integration__/**/*.test.js`,
],
version: "stable",
extensionDevelopmentPath: __dirname,
workspaceFolder: `${__dirname}/__tests__/__integration__/resources`,
srcDir: "./src",
},
],
/** @type {import('@vscode/test-cli').ICoverageConfiguration} */
coverage: {
includeAll: true,
reporter: ["lcov", "text-summary"],
output: `${__dirname}/__tests__/__results__/integration`,
exclude: ["**/node_modules/**"],
},
});
And I am unable to generate a coverage report that excludes my node_modules event though I specifically mention to exclude those in coverage.exclude any idea if i'm missing something in my configuration?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.