Skip to content

Latest commit

 

History

History
6 lines (3 loc) · 366 Bytes

README.md

File metadata and controls

6 lines (3 loc) · 366 Bytes

mocha-done-issue

An example project showing that mocha does not recognize exceptions once done has been called. Requires a nodejs installation.

Excecute npm install then npm run mocha and observe that the test passes. Repeat npm run mocha after reversing the done() call and the expect call and observe that the test fails.