Browse Source

Merge pull request #146 from futagoza/master

ensure test.js works
ci/travis-osximage
JP Richardson 9 years ago
parent
commit
45cabf466f
  1. 3
      test.js

3
test.js

@ -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)
})

Loading…
Cancel
Save