Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit ad8f522

Browse files
Batta32lzc850612
authored andcommitted
[Generator][TypeScript] Implement Code Coverage (#1363)
* Implement nyc framework * Configuration nyc * Update npm and git ignore * Improvement for after method in generator
1 parent d2e4d50 commit ad8f522

File tree

8 files changed

+824
-57
lines changed

8 files changed

+824
-57
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# node.js dependencies folder
2+
node_modules/
3+
4+
# Bot Files
5+
*.bot
6+
7+
#generator tests
8+
test/
9+
10+
#coverage
11+
coverage
12+
.nyc_output

templates/Virtual-Assistant-Template/typescript/generator-botbuilder-assistant/.npmignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ node_modules/
55
*.bot
66

77
#generator tests
8-
test/
8+
test/
9+
10+
#coverage
11+
coverage
12+
.nyc_output
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"extension": [
3+
".js"
4+
],
5+
"include": [
6+
"generators/"
7+
],
8+
"exclude": [
9+
"node_modules/**",
10+
"test/**",
11+
"coverage/**",
12+
"generators/**/templates/**/deployment/",
13+
"generators/**/templates/**/test/"
14+
],
15+
"reporter": [
16+
"html",
17+
"text"
18+
],
19+
"all": true,
20+
"cache": true
21+
}

0 commit comments

Comments
 (0)