Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 297b12589c486cc7ffd20ef580dcf6b44f7ad1a2 1 parent b77c08d
@jbeard4 authored
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=$!
Please sign in to comment.
Something went wrong with that request. Please try again.