logicalparadox/chai — Issue #28: Uncaught TypeError: Cannot read property 'CHAI_COV' of undefined
Author: superfeedr
Created: 2012-02-27 09:56:36+00:00
State: open

Hello,

We are using `chai.js` with `mocha` and we run our tests in the browser...
It looks like a recent version of Chai introduced a little bug: `Uncaught TypeError: Cannot read property 'CHAI_COV' of undefined`.

It looks like it's coming from the fact that you now use process.env.CHAI_COV to load the appropriate library... and process.env does not seem to exist in the browser.