Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

Commit

Permalink
Fixed run-tests-node.sh script to point at the renamed node test serv…
Browse files Browse the repository at this point in the history
…er. Added pointer to test script to package.json, so now 'npm test' works.
  • Loading branch information
jbeard4 committed Jun 12, 2012
1 parent b77c08d commit 297b125
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion test/run-tests-node.sh
Original file line number Diff line number Diff line change
@@ -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=$!

Expand Down

0 comments on commit 297b125

Please sign in to comment.