diff --git a/README.md b/README.md index e8b450b..02c52a5 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,11 @@ > Karma reporter for Teamcity CI. +### TeamCity Setup + +Ensure that your TeamCity project is configured to use UTF-8 stream encoding. +See [this issue](https://github.com/karma-runner/karma-teamcity-reporter/issues/32#issuecomment-202270422) for more details. + For more information on Karma see the [homepage]. diff --git a/index.js b/index.js index e1abd83..300e1ca 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,4 @@ var util = require('util') -var fs = require('fs') var escapeMessage = function (message) { if (message === null || message === undefined) { @@ -47,8 +46,6 @@ var TeamcityReporter = function (baseReporterDecorator) { baseReporterDecorator(this) var self = this - this.adapters = [fs.writeSync.bind(fs.writeSync, 1)] - this.TEST_IGNORED = "##teamcity[testIgnored name='%s' flowId='']" this.SUITE_START = "##teamcity[testSuiteStarted name='%s' flowId='']" this.SUITE_END = "##teamcity[testSuiteFinished name='%s' flowId='']"