From 5216721b0e887ae44e0051a293b7d8b07d02dccb Mon Sep 17 00:00:00 2001
From: dignifiedquire <dignifiedquire@gmail.com>
Date: Thu, 17 Mar 2016 00:00:41 +0100
Subject: [PATCH 1/2] test: Teamcity report for karma

---
 package.json | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package.json b/package.json
index 369198f0ad..b01059ae52 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
     "test:node:core": "mocha tests/test-core/index.js",
     "test:node:http-api": "mocha tests/test-http-api/index.js",
     "test:browser": "karma start karma.conf.js",
+    "test:browser:teamcity": "karma start --reporters teamcity --colors false karma.conf.js",
     "test:core": "mocha tests/test-core/index.js",
     "test:cli": "mocha tests/test-cli/index.js"
   },
@@ -53,6 +54,7 @@
     "karma-firefox-launcher": "^0.1.7",
     "karma-mocha": "^0.2.1",
     "karma-spec-reporter": "0.0.23",
+    "karma-teamcity-reporter": "^0.2.2",
     "karma-webpack": "^1.7.0",
     "local-storage-blob-store": "0.0.3",
     "lodash": "^4.0.0",

From f912907208f7efbbb741689f59039d4fd8cca668 Mon Sep 17 00:00:00 2001
From: dignifiedquire <dignifiedquire@gmail.com>
Date: Thu, 17 Mar 2016 00:24:25 +0100
Subject: [PATCH 2/2] test: Add mocha-teamcity reporter

---
 package.json | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package.json b/package.json
index b01059ae52..0a5ce3e833 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,10 @@
     "coverage:http-api": "istanbul cover --print both -- _mocha tests/test-http-api/index.js",
     "test": "npm run test:node && npm run test:browser",
     "test:node": "npm run test:node:core && npm run test:node:http-api && npm run test:node:cli",
+    "test:node:teamcity": "npm run test:node:core:teamcity && npm run test:node:http-api:teamcity && npm run test:node:cli:teamcity",
+    "test:node:cli:teamcity": "mocha --reporter mocha-teamcity-reporter tests/test-cli/index.js",
+    "test:node:core:teamcity": "mocha --reporter mocha-teamcity-reporter tests/test-core/index.js",
+    "test:node:http-api:teamcity": "mocha --reporter mocha-teamcity-reporter tests/test-http-api/index.js",
     "test:node:cli": "mocha tests/test-cli/index.js",
     "test:node:core": "mocha tests/test-core/index.js",
     "test:node:http-api": "mocha tests/test-http-api/index.js",
@@ -59,6 +63,7 @@
     "local-storage-blob-store": "0.0.3",
     "lodash": "^4.0.0",
     "mocha": "^2.3.4",
+    "mocha-teamcity-reporter": "^1.0.0",
     "ncp": "^2.0.0",
     "nexpect": "^0.5.0",
     "pre-commit": "^1.1.2",