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

fix circular objects in json reporter; closes #2433 #3318

Merged
merged 3 commits into from
Apr 8, 2018
Merged

Conversation

boneskull
Copy link
Contributor

Continuation of #2559.

@boneskull boneskull added area: reporters involving a specific reporter type: bug a defect, confirmed by a maintainer semver-patch implementation requires increase of "patch" version number; "bug fixes" labels Apr 8, 2018
return {
title: test.title,
fullTitle: test.fullTitle(),
duration: test.duration,
currentRetry: test.currentRetry(),
err: errorJSON(test.err || {})
err: cleanCycles(err)
};
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor issue. We need an empty line here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
@boneskull boneskull merged commit 741b0bd into master Apr 8, 2018
@boneskull boneskull deleted the pr/2559 branch April 8, 2018 05:50
@boneskull boneskull added this to the v5.1.0 milestone Apr 8, 2018
sgilroy pushed a commit to TwineHealth/mocha that referenced this pull request Feb 27, 2019
)

original work by @jeversmann; continuation of PR mochajs#2559 

Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: reporters involving a specific reporter semver-patch implementation requires increase of "patch" version number; "bug fixes" type: bug a defect, confirmed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants