mocha-sprinkles - small helpers for mocha + coffee-script + Q

  •        0

Wrap a test function that returns a future. Mocha's `done` hooks are attached to the future so that the test doesn't complete until the future is resolved.```coffee-scriptit "waits 100 ms", future -> Q.delay(100)```

https://github.com/robey/mocha-sprinkles

Tags
Implementation
License
Platform

   




Related Projects