#910602 RFP: node-co-mocha -- Enable support for generators in Mocha tests

Package:
wnpp
Source:
wnpp
Submitter:
Jeff Cliff
Date:
2025-11-29 16:42:01 UTC
Severity:
wishlist
Blocked By:
Bug Title
910949

  1

RFP: node-is-generator -- Check whether a given value is a generator function

wishlist stable testing unstable 9 months ago

#910602#5
Date:
2018-10-08 15:16:06 UTC
From:
To:
* Package name    : node-co-mocha
  Version         : 1.2.2
  Upstream Author : Blake Embrey <admin@blakeembrey.me>
* URL             : https://notabug.org/themusicgod1/co-mocha
* License         : MIT
  Programming Lang: javascript
  Description     : Enable support for generators in Mocha tests

Enable support for generators in Mocha tests using co.
This module monkey patches the Runnable.prototype.run method of mocha to enable
generators. In contrast to other npm packages, co-mocha extends mocha at runtime
allowing you to use any compatible mocha version.