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

feat(Mocha): Patch circular references parallel invocation bug #67

Merged
merged 1 commit into from
Jan 13, 2021

Conversation

medikoo
Copy link
Contributor

@medikoo medikoo commented Jan 13, 2021

Workaround for mochajs/mocha#4552

This patch ensures that eventual circular references in array won't crash Mocha in parallel mode. It won't prevent hang in case error cross-references to its own instance, but I take we don't have to worry about this scenario at this point.

Confirmed to have no effect when no parallel processing is applied

@medikoo medikoo added the enhancement New feature or request label Jan 13, 2021
@medikoo medikoo self-assigned this Jan 13, 2021
@medikoo medikoo requested review from pgrzesik and removed request for pgrzesik January 13, 2021 12:47
@medikoo medikoo force-pushed the 0113-patch-mocha-parallel-bug branch 2 times, most recently from 132453a to 33551a1 Compare January 13, 2021 12:57
@medikoo medikoo force-pushed the 0113-patch-mocha-parallel-bug branch from 33551a1 to 1b70ebf Compare January 13, 2021 12:58
@medikoo medikoo requested a review from pgrzesik January 13, 2021 12:59
Copy link
Contributor

@pgrzesik pgrzesik left a comment

Choose a reason for hiding this comment

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

Great job 🙇

@medikoo medikoo merged commit 5fa4b74 into master Jan 13, 2021
@medikoo medikoo deleted the 0113-patch-mocha-parallel-bug branch January 13, 2021 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants