Skip to content

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.

2 participants