Permalink
Browse files

set up npm test to work with local nodeunit + added development secti…

…on on README
  • Loading branch information...
1 parent 5ce62a0 commit 6e5a9ac41d1f62ab4f591cd99c52f4e4eefbae49 @luccastera luccastera committed Oct 25, 2012
Showing with 9 additions and 1 deletion.
  1. +8 −0 README.md
  2. +1 −1 package.json
View
8 README.md
@@ -105,6 +105,14 @@ The following methods must be used with a callback. The callback method will be
* [Storing Hierarchical Data in a Database Article] (http://www.sitepoint.com/hierarchical-data-database/)
* [Trees in MongoDB] (http://www.mongodb.org/display/DOCS/Trees+in+MongoDB)
+### Development
+
+To run the tests:
+
+```
+npm test
+```
+
### Authors
* Luc Castera: [https://github.com/dambalah](https://github.com/dambalah)
View
2 package.json
@@ -17,7 +17,7 @@
},
"main": "index.js",
"scripts": {
- "test": "nodeunit tests/*_test.js"
+ "test": "./node_modules/nodeunit/bin/nodeunit tests/nested_set_test.js"
},
"engines": {
"node": "< 0.7.x"

0 comments on commit 6e5a9ac

Please sign in to comment.