npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

mocha-generators

2.0.0 • Public • Published

mocha-generators Build Status

Enable support for ES6 generators in Mocha tests.

Installation

$ npm install --save mocha-generators

Usage

require('mocha-generators').install();
 
it('test something', function * () {
    // oh, yeah, it works
});

License

MIT @ Vadim Demedes

install

npm i mocha-generators

Downloadsweekly downloads

2,587

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability