nullobject/jsdoc-react

No test directory or tests?

Closed this issue · 0 comments

tmcw commented

There's a make test command and mocha as a dependency, but running it yields:

/Users/tmcw/src/jsdoc-react/node_modules/mocha/lib/utils.js:494
      if (!files.length) throw new Error("cannot resolve path (or pattern) '"
                               ^
Error: cannot resolve path (or pattern) 'test'
    at Object.lookupFiles (/Users/tmcw/src/jsdoc-react/node_modules/mocha/lib/utils.js:494:32)
    at runAgain (/Users/tmcw/src/jsdoc-react/node_modules/mocha/bin/_mocha:316:30)
    at Array.forEach (native)
    at Object.<anonymous> (/Users/tmcw/src/jsdoc-react/node_modules/mocha/bin/_mocha:315:6)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:929:3
make: *** [unit] Error 8