mhevery/jasmine-node — pull request #166 by icetan (2012-07-26 12:13:47+00:00)
Title: Fixed problem with running tests that are under a node_modules folder

I needed to run tests on a installed npm package. But because there was a regexp that excluded all files that had "node_modules" in it's absolute path I couldn't run them.

I changed so that the regexp only checks against the files path relative to the given spec folder. Thus only excluding files if they are in a node_modules folder that is a subfolder of the given spec folder.