From 73adf864a07f2abff34006e1853889bfbd0034c8 Mon Sep 17 00:00:00 2001 From: Matthew Kastor Date: Sat, 14 Sep 2013 20:52:22 -0400 Subject: [PATCH] fixes tests 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. --- README.txt | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index 491dabc..acb480d 100644 --- a/README.txt +++ b/README.txt @@ -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: diff --git a/package.json b/package.json index 7fb890d..21a936d 100644 --- a/package.json +++ b/package.json @@ -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"