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

fix: Remove fs.writeSync as default adapter and add TeamCity setup do… #83

Merged
merged 1 commit into from
Jan 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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