Skip to content
Snippets Groups Projects
Commit e7874fdf authored by Amir Rajan's avatar Amir Rajan
Browse files

instructions added for adding jasmine tests

parent dafc7363
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,18 @@ Run the app:
Then navigate to `http://localhost:3000`
If you want tests to execute every time you change a file:
jasmine-node ./spec/describe_Game_spec.js --autotest --watch ./game.js
If you want the server to load up everytime you change the back end:
npm install -g nodemone
Then run the following instead of `node server.js`:
nodemon server.js
##Signing up, and deploying to Nodejitsu
###Documentation
......
def run
system("cls")
system("jasmine-node ./specifications")
end
watch ('.*.js$') { run }
......@@ -13,7 +13,7 @@
"dependencies": {
"express": "~3.0.1",
"ejs": "~0.8.3",
"jasmine-node": "~1.0.26",
"jasmine-node": "~1.11.0",
"underscore": "~1.4.2",
"socket.io": "~0.9.11",
"backbone": "~0.9.2",
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment