Skip to content

Instantly share code, notes, and snippets.

View WesTyler's full-sized avatar
:octocat:
.

Wes Tyler WesTyler

:octocat:
.
  • 06:31 (UTC -05:00)
View GitHub Profile
@boneskull
boneskull / README.md
Last active April 10, 2024 12:47
example of how to debug mocha v4 if hanging

Here's an example of how to debug Mocha v4 if it hangs.

Ensure you're using a Node.js 8 or newer (or any version with async_hooks support).

If you run your test, you'll notice it hangs:

$ mocha test.js