Closed alan-agius4 closed 8 years ago
Confirmed this behavior. Getting the same error as well. Running on Node.js environment (Node 6.3.4)
Same issue - all our CI builds are broken :-(
[06:52:21][Step 2/2] "mocha-teamcity-reporter" reporter blew up with error:
[06:52:21][Step 2/2] ReferenceError: window is not defined
[06:52:21][Step 2/2] at Object.
Submitted a PR to fix this issue: https://github.com/travisjeffery/mocha-teamcity-reporter/pull/22
Have the same error, node v4.4.0
Just pushed v1.1.1 fixing this, thanks @rajwilkhu
20:19][Step 4/4] "mocha-teamcity-reporter" reporter blew up with error: [08:20:19][Step 4/4] ReferenceError: window is not defined [08:20:19][Step 4/4] at Object. (D:\tc\ba1\work\39f0d6d839da2ca9\src\node_modules\mocha-teamcity-reporter\lib\teamcity.js:25:5)
[08:20:19][Step 4/4] at Module._compile (module.js:541:32)
Version: 1.1.0
Previously. 1.0.2 works fine