MatthewMueller/cheerio — Issue #30: Test not running
Author: jos3000
Created: 2012-01-24 15:32:58+00:00
State: open

Seems like a little typo - the test suite points to `tests` instead of `test`

```

JosProDesk:cheerio jos$ npm install

JosProDesk:cheerio jos$ npm test

> cheerio@0.4.2 test /Users/jos/Sites/cheerio
> coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module '/Users/jos/Sites/cheerio/tests/test.cheerio'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at /usr/local/lib/node_modules/vows/bin/vows:496:19
at Array.reduce (native)
at importSuites (/usr/local/lib/node_modules/vows/bin/vows:491:18)
at Object. (/usr/local/lib/node_modules/vows/bin/vows:247:15)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
npm ERR! cheerio@0.4.2 test: `coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec`
npm ERR! `sh "-c" "coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec"` failed with 1
npm ERR!
npm ERR! Failed at the cheerio@0.4.2 test script.
npm ERR! This is most likely a problem with the cheerio package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec
npm ERR! You can get their info via:
npm ERR! npm owner ls cheerio
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 10.8.0
npm ERR! command "node" "/usr/local/bin/npm" "test"
npm ERR! cwd /Users/jos/Sites/cheerio
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.0-beta-10
npm ERR! code ELIFECYCLE
npm ERR! message cheerio@0.4.2 test: `coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec`
npm ERR! message `sh "-c" "coffee -o lib/ src/ && vows tests/test.cheerio.coffee --spec"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/jos/Sites/cheerio/npm-debug.log
npm not ok
```