visionmedia/mocha — pull request #454 by adomokos (2012-06-08 02:49:24+00:00)
Title: Adding the file extenions to the path in Makefile

When I ran ```make test-all``` in the terminal I received the following error:

```shell
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: ENOENT, no such file or directory 'test/acceptance/interfaces/bdd'
at Object.statSync (fs.js:414:18)
at lookupFiles (/Users/adomokos/Programming/JavaScript/mocha-fork/bin/_mocha:361:17)
at /Users/adomokos/Programming/JavaScript/mocha-fork/bin/_mocha:211:24
at Array.forEach (native)
at Object. (/Users/adomokos/Programming/JavaScript/mocha-fork/bin/_mocha:210:6)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40)
make: *** [test-bdd] Error 1
```

I looked into why the test-bdd task failed: it couldn't find the test file without the file extension. I added the ```.js``` and the task passed.

Fixed the other examples, ```make test-all``` should work now.

I tested it on OSX 10.7.4 and node version v0.6.10.