Mocha's --require
option is used to load modules, meaning both local files and modules in node_modules
. The changes in fd4b0c5 break this functionality because this line only allows local files to be require
d (since grunt.file.expand
only looks for local files using a glob).