Skip to content

Commit 1fe00ef

Browse files
committed
(vsix) add unit tests support for Vsix, using xunit reporter
1 parent 91f7b3d commit 1fe00ef

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/GitVersionVsixTask/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GitVersionVsixTask/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"main": "index.js",
77
"scripts": {
88
"build": "tsc && tsc --p tests/tsconfig.json && copy-node-modules . GitVersionTask",
9-
"test": "mocha tests/test-suite.js --reporter mocha-junit-reporter",
9+
"test": "mocha tests/test-suite.js --reporter mocha-xunit-reporter",
1010
"package": "tfx extension create --manifest-globs vss-extension.json"
1111
},
1212
"author": "",
@@ -20,7 +20,7 @@
2020
"@types/q": "1.5.2",
2121
"copy-node-modules": "^1.1.1",
2222
"mocha": "^6.2.0",
23-
"mocha-junit-reporter": "^1.23.1",
23+
"mocha-xunit-reporter": "^1.1.0",
2424
"tfx-cli": "0.6.3",
2525
"typescript": "^3.5.3"
2626
}

src/GitVersionVsixTask/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
"declaration": true,
1212
"outDir": "GitVersionTask"
1313
},
14-
"exclude": ["tests"]
14+
"exclude": ["tests", "GitVersionTask"]
1515
}

0 commit comments

Comments
 (0)