Merge pull request #21226 from Snuffleupagus/unittestcli-coverage-external

Include the `external/` folder in the coverage report for `gulp unittestcli`
This commit is contained in:
Jonas Jenwald 2026-05-05 22:52:39 +02:00 committed by GitHub
commit cd1b5f57c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 15 deletions

View File

@ -1,14 +0,0 @@
{
"reporter": ["text", "html", "lcov"],
"include": [
"build/lib-legacy/core/**/*.js",
"build/lib-legacy/display/**/*.js",
"build/lib-legacy/shared/**/*.js",
"build/lib-legacy/web/**/*.js"
],
"exclude": ["build/lib-legacy/test/**"],
"all": false,
"check-coverage": false,
"report-dir": "./build/coverage",
"temp-directory": "./build/.c8_output"
}

View File

@ -1725,7 +1725,7 @@ function buildLibHelper(bundleDefines, inputStream, outputDir) {
"babel-plugin-istanbul",
{
cwd: __dirname,
include: ["src/**/*.js", "web/**/*.js"],
include: ["external/**/*.js", "src/**/*.js", "web/**/*.js"],
},
]);
}