mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-09 19:51:05 +02:00
Include the external/ folder in the coverage report for gulp unittestcli
Given that the (browser) `gulp unittest` coverage includes the `external/` folder, it seems reasonable to include that folder in the coverage report when running unit-tests in Node.js as well.
This commit is contained in:
parent
ac51bdf745
commit
d33d9fc61d
14
.c8rc.json
14
.c8rc.json
@ -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"
|
|
||||||
}
|
|
||||||
@ -1725,7 +1725,7 @@ function buildLibHelper(bundleDefines, inputStream, outputDir) {
|
|||||||
"babel-plugin-istanbul",
|
"babel-plugin-istanbul",
|
||||||
{
|
{
|
||||||
cwd: __dirname,
|
cwd: __dirname,
|
||||||
include: ["src/**/*.js", "web/**/*.js"],
|
include: ["external/**/*.js", "src/**/*.js", "web/**/*.js"],
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user