Skip to content

Commit

Permalink
fixes tests
Browse files Browse the repository at this point in the history
node modules with tests should include a scripts.test field that will
execute their test suite. This will allow users to run the tests with
npm by running npm test. This fixes that.
  • Loading branch information
matthewkastor committed Sep 15, 2013
1 parent 0c494c4 commit 73adf86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ TESTING:
To run the suite of unit tests included with JsDoc Toolkit enter this
on the command line:

jsdoc-toolkit -T
npm test

To see a dump of the internal data structure that JsDoc Toolkit has
built from your source files use this command:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"main": "app/nodemodule.js",
"bin": "app/noderun.js",
"scripts": {
"test": "node app/test.js"
"test": "node app/run.js -T"
},
"engines": {
"node": ">= 0.4"
Expand Down

0 comments on commit 73adf86

Please sign in to comment.