cjohansen / sinon-nodeunit

A small Sinon.JS adapter for nodeunit that provides automatic sandboxing of mocks and stubs

Home Page:http://cjohansen.no/sinon/nodeunit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

require.paths is removed.

robinheghan opened this issue · comments

I get the following error message when using require("sinon-nodeunit") in my project.

module.js:313
throw err;
^
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.

I would fix this myself, but I just started with node and javascript development, so I'm not really qualified... Hope this can be fixed soon, SinonJS rules!

Hi, I fixed this on master, but I'm having some trouble pushing to NPM. If you can use the repo as a submodule you should be fine.