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 mocha async describe #123

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

pmdartus
Copy link
Contributor

The mocha test suite got unstable after merging #119. The instability comes from the fact that Mocha doesn't support async describe blocks (mochajs/mocha#2975).

This PR addresses this issue by converting back the describe block to a sync function and moving the async logic to a before block.

@pimterry pimterry merged commit 6fe7e08 into httptoolkit:main Dec 13, 2022
@pimterry
Copy link
Member

Ah yes, classic Mocha. Thanks for catching and fixing that 👍

@pmdartus pmdartus deleted the pmdartus/fix-async-describe branch December 13, 2022 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants