Skip to content

Commit

Permalink
fix: Test suits encoding problems
Browse files Browse the repository at this point in the history
Reverted d8d9e70.
fs.writeSync is used as workaround for node < v0.11.12 to fix the bug karma-runner#5. But now it is not needed.

Closes karma-runner#32
  • Loading branch information
dizel3d committed Mar 25, 2016
1 parent d7a5e22 commit 56f380f
Showing 1 changed file with 0 additions and 3 deletions.
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 @@ -31,8 +30,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']"
this.SUITE_START = "##teamcity[testSuiteStarted name='%s']"
this.SUITE_END = "##teamcity[testSuiteFinished name='%s']"
Expand Down

0 comments on commit 56f380f

Please sign in to comment.