Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mocha teamcity reporter does not work with Mocha 6 #4654

Closed
jinder opened this issue Jul 5, 2019 · 3 comments · Fixed by #4643
Closed

Mocha teamcity reporter does not work with Mocha 6 #4654

jinder opened this issue Jul 5, 2019 · 3 comments · Fixed by #4643
Assignees

Comments

@jinder
Copy link

jinder commented Jul 5, 2019

When using Mocha 6 or above and @cypress/mocha-teamcity-reporter, the following error occurs:

TypeError: Cannot read property 'duration' of undefined
at Runner.<anonymous> (D:\BuildAgents\BuildAgent2\work\e66087cafd2fca06\mosaic-core\e2e\node_modules\@cypress\mocha-teamcity-reporter\lib\teamcity.js:55:78)

This is caused by the issue reported here: travisjeffery/mocha-teamcity-reporter#49

A fix is available, but needs to be merged into the forked @cypress/mocha-teamcity-reporter and published to NPM.

@jennifer-shehane
Copy link
Member

There's a PR to fix this open here: #4643

I need to add some extra tests to make sure the upgrade is ok.

@jennifer-shehane jennifer-shehane self-assigned this Jul 8, 2019
@cypress-bot cypress-bot bot added the stage: needs review The PR code is done & tested, needs review label Jul 11, 2019
@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Jul 11, 2019
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jul 11, 2019

The code for this is done in cypress-io/cypress#4643, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jul 29, 2019

Released in 3.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants