Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Mocha Breaks Libraries Using process for environment detection. #770
Please see an example repository at https://github.com/iammerrick/mocha-rjs-fail.
Mocha.js installs a global called
r.js is one of those libraries that uses
Does that mean the browser doesn't use these lines of code: https://github.com/visionmedia/mocha/blob/master/mocha.js#L5229-L5290
Also thanks for your quick response.
I think its in a closure, what we really need is a
Just want to let you guys know that this change breaks mocha-phantomjs nathanboktae/mocha-phantomjs#58, which need to override some methods in
I guess one way to fix this is to expose
referenced this issue
Jun 20, 2013
Please, I do not want this to be an up vote thread.
@visionmedia Is there another issue that has opened up for this or is this something you are not working on? If so, can you give anyone feedback on what would be OK by you for someone to work on and create a new pull request.