Permalink
Browse files

Fixed run-tests-node.sh script to point at the renamed node test serv…

…er. Added pointer to test script to package.json, so now 'npm test' works.
  • Loading branch information...
1 parent b77c08d commit 297b12589c486cc7ffd20ef580dcf6b44f7ad1a2 @jbeard4 committed Jun 12, 2012
Showing with 5 additions and 2 deletions.
  1. +4 −1 package.json
  2. +1 −1 test/run-tests-node.sh
View
5 package.json
@@ -40,5 +40,8 @@
"uglify-js" : "*"
},
"engines" : { "node" : ">=0.4.7" },
- "main": "./lib/scion"
+ "main": "./lib/scion",
+ "scripts" : {
+ "test" : "cd test && bash run-tests-node.sh"
+ }
}
View
2 test/run-tests-node.sh
@@ -1,7 +1,7 @@
npm install request
#start the server
-node test-server.js &
+node node-test-server.js &
#keep the pid (so we can kill it later)
serverpid=$!

0 comments on commit 297b125

Please sign in to comment.