Skip to content

Commit 001c4fc

Browse files
authored
[engsys][identity] enable code coverage result generation (Azure#22785)
The dev-tool runs nyc for integration tests. However, without proper reporter configurations, desired code coverage reports are not generated. This PR adds the .nycrc file that is copied from the template project thus enables code coverage report generation.
1 parent c4eeff4 commit 001c4fc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

sdk/identity/identity/.nycrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"include": [
3+
"dist-esm/src/**/*.js"
4+
],
5+
"exclude": [
6+
"**/*.d.ts",
7+
"dist-esm/src/generated/*"
8+
],
9+
"reporter": [
10+
"text-summary",
11+
"html",
12+
"cobertura"
13+
],
14+
"exclude-after-remap": false,
15+
"sourceMap": true,
16+
"produce-source-map": true,
17+
"instrument": true,
18+
"all": true
19+
}

0 commit comments

Comments
 (0)