Permalink
Browse files

add nodeunit runner

  • Loading branch information...
1 parent 219a0f9 commit cb2aa3ac053fba5543382144f4defb728e1e1596 @tjfontaine committed Feb 28, 2012
Showing with 6 additions and 1 deletion.
  1. +4 −1 package.json
  2. +2 −0 test.js
View
@@ -21,10 +21,13 @@
"node": ">= 0.5.0"
},
"scripts": {
- "test": "nodeunit test/*"
+ "test": "node ./test.js"
},
"dependencies": {
"clone": ">= 0.0.5",
"ipaddr.js": ">= 0.1.0"
+ },
+ "devDependencies": {
+ "nodeunit": ">= 0.7.4"
}
}
View
@@ -0,0 +1,2 @@
+var reporter = require('nodeunit').reporters.default;
+reporter.run(['test']);

0 comments on commit cb2aa3a

Please sign in to comment.