Skip to content

Commit

Permalink
[Tests] Exclude CircleEditor and MetadataViewer from nyc test files (S…
Browse files Browse the repository at this point in the history
…amsung#1683)

This commit excludes CircleEditor and MetadataViewer from nyc test files.
These modules are not an official v0.4 release features.

ONE-vscode-DCO-1.0-Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
  • Loading branch information
jyoungyun authored Sep 26, 2023
1 parent 3554494 commit 3ccbdc8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Tests/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ function setupCoverage() {
const nyc = new NYC({
extends: "@istanbuljs/nyc-config-typescript",
cwd: join(__dirname, "..", ".."),
exclude: ["**/Tests/**", "**/external/**"],
exclude: [
"**/Tests/**",
"**/external/**",
"**/CircleEditor/**",
"**/MetadataViewer/**",
],
include: ["src/**/*.ts", "out/**/*.js"],
reporter: ["cobertura", "lcov", "html", "text", "text-summary"],
all: true,
Expand Down

0 comments on commit 3ccbdc8

Please sign in to comment.