Skip to content

iammerrick/mocha-rjs-fail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

The Problem

Mocha.js installs a global called process see here. A comment says it is only to allow mocha.js to run untouched, not to allow running node code in the browser, however this has some unfortunate side effects for some libraries that use process for environment detection.

r.js is one of those libraries that uses process for environment detection see here.

About

A problem with Mocha + Require.js.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published