Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
fix: Remove fs.writeSync as default adapter and add TeamCity setup do…
Browse files Browse the repository at this point in the history
…cumentation
  • Loading branch information
kevcenteno committed May 26, 2017
1 parent eef641b commit 65d4113
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].


Expand Down
3 changes: 0 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
var util = require('util')
var fs = require('fs')

var escapeMessage = function (message) {
if (message === null || message === undefined) {
Expand Down Expand Up @@ -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='']"
Expand Down

0 comments on commit 65d4113

Please sign in to comment.