Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit ce871a1

Browse files
committed
Merge pull request #89 from ipfs/teamcity
test: Teamcity report for karma
2 parents 9676f68 + f912907 commit ce871a1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package.json

+7
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,15 @@
1212
"coverage:http-api": "istanbul cover --print both -- _mocha tests/test-http-api/index.js",
1313
"test": "npm run test:node && npm run test:browser",
1414
"test:node": "npm run test:node:core && npm run test:node:http-api && npm run test:node:cli",
15+
"test:node:teamcity": "npm run test:node:core:teamcity && npm run test:node:http-api:teamcity && npm run test:node:cli:teamcity",
16+
"test:node:cli:teamcity": "mocha --reporter mocha-teamcity-reporter tests/test-cli/index.js",
17+
"test:node:core:teamcity": "mocha --reporter mocha-teamcity-reporter tests/test-core/index.js",
18+
"test:node:http-api:teamcity": "mocha --reporter mocha-teamcity-reporter tests/test-http-api/index.js",
1519
"test:node:cli": "mocha tests/test-cli/index.js",
1620
"test:node:core": "mocha tests/test-core/index.js",
1721
"test:node:http-api": "mocha tests/test-http-api/index.js",
1822
"test:browser": "karma start karma.conf.js",
23+
"test:browser:teamcity": "karma start --reporters teamcity --colors false karma.conf.js",
1924
"test:core": "mocha tests/test-core/index.js",
2025
"test:cli": "mocha tests/test-cli/index.js"
2126
},
@@ -53,10 +58,12 @@
5358
"karma-firefox-launcher": "^0.1.7",
5459
"karma-mocha": "^0.2.1",
5560
"karma-spec-reporter": "0.0.23",
61+
"karma-teamcity-reporter": "^0.2.2",
5662
"karma-webpack": "^1.7.0",
5763
"local-storage-blob-store": "0.0.3",
5864
"lodash": "^4.0.0",
5965
"mocha": "^2.3.4",
66+
"mocha-teamcity-reporter": "^1.0.0",
6067
"ncp": "^2.0.0",
6168
"nexpect": "^0.5.0",
6269
"pre-commit": "^1.1.2",

0 commit comments

Comments
 (0)