Skip to content

Commit

Permalink
fix test dependencies and rely on npm
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnym committed Jul 12, 2012
1 parent 9e8428a commit 8dbe66d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 18 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
lib-cov lib-cov
node_modules
8 changes: 1 addition & 7 deletions Makefile
@@ -1,12 +1,6 @@


test: test:
@NODE_ENV=test ./support/expresso/bin/expresso \ @NODE_ENV=test ./node_modules/.bin/expresso $(TESTFLAGS) test/*.test.js
-I lib \
-I support \
-I support/should.js/lib \
-I support/colors.js \
$(TESTFLAGS) \
test/*.test.js


test-cov: test-cov:
@TESTFLAGS=--cov $(MAKE) test @TESTFLAGS=--cov $(MAKE) test
Expand Down
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -5,7 +5,11 @@
, "keywords": ["cli", "colors", "table"] , "keywords": ["cli", "colors", "table"]
, "dependencies": { , "dependencies": {
"colors": "0.3.0" "colors": "0.3.0"
} }
, "devDependencies": {
"expresso": "~0.9"
, "should": "~0.6"
}
, "main": "./index.js" , "main": "./index.js"
, "engines": { "node": ">= 0.2.0" } , "engines": { "node": ">= 0.2.0" }
} }
1 change: 0 additions & 1 deletion support/colors.js
Submodule colors.js deleted from b6ff10
1 change: 0 additions & 1 deletion support/expresso
Submodule expresso deleted from a63263
1 change: 0 additions & 1 deletion support/should.js
Submodule should.js deleted from c05fac
6 changes: 0 additions & 6 deletions test/common.js

This file was deleted.

2 changes: 1 addition & 1 deletion test/index.test.js
Expand Up @@ -3,7 +3,7 @@
* Module requirements. * Module requirements.
*/ */


require('./common'); require('should');


var Table = require('cli-table'); var Table = require('cli-table');


Expand Down

0 comments on commit 8dbe66d

Please sign in to comment.