ensure test.js works
@ -9,10 +9,9 @@ var mocha = new Mocha({
timeout: 30000
})
walk('./')
walk('./lib')
.on('data', function (item, stat) {
if (!stat.isFile()) return
if (item.indexOf('node_modules') >= 0) return
if (item.lastIndexOf('.test.js') !== (item.length - '.test.js'.length)) return
mocha.addFile(item)