mirror of
https://github.com/fancive/obsidian-parallel-reader.git
synced 2026-07-22 06:53:43 +00:00
- npm run coverage runs the full suite under c8 - Wire inline source maps into the esbuild test bundles - Redirect bundles into repo (.test-bundles) under coverage so c8 processes them; cleaned automatically after the run - Fix esbuild->v8-to-istanbul source path remap (tests/coverage-sourcemap.js) - .c8rc.json, .gitignore, dev-dep c8 Note: statement/function totals are degenerate under esbuild bundling; branch coverage + HTML report are the reliable signals. Change-Id: I880f5ee1e9a8e5368e27a8e274825f917d972269
16 lines
362 B
JSON
16 lines
362 B
JSON
{
|
|
"all": false,
|
|
"src": ["src"],
|
|
"include": ["src/**/*.ts", "main.ts"],
|
|
"exclude": [
|
|
"src/test-exports.ts",
|
|
"tests/**",
|
|
"scripts/**",
|
|
".e2e/**",
|
|
"**/node_modules/**"
|
|
],
|
|
"excludeAfterRemap": true,
|
|
"reporter": ["text-summary", "text", "html", "json-summary"],
|
|
"reportsDirectory": "coverage",
|
|
"tempDirectory": "coverage/.tmp"
|
|
}
|