Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
chore(test): fix npm test to install missing prerequisites
Browse files Browse the repository at this point in the history
  • Loading branch information
cnishina committed Feb 3, 2016
1 parent 7b371fc commit 7ce4919
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"mocha": "2.3.4",
"express": "~4.13.3",
"body-parser": "1.14.2",
"rimraf": "~2.5.0"
"rimraf": "~2.5.0",
"lodash": "^2.4.1",
"marked": "^0.3.3"
},
"repository": {
"type": "git",
Expand Down
6 changes: 2 additions & 4 deletions scripts/pretest.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash
# When running `npm test`, this script is intended to run during pretest step.

WS=$(pwd) # the protractor directory
$WS/bin/webdriver-manager update # updates the local webdriver manager
$WS/node_modules/.bin/jshint lib spec scripts
cd $WS/website && npm install # installs dependencies for the website
bin/webdriver-manager update # updates the local webdriver manager
node_modules/.bin/jshint lib spec scripts

0 comments on commit 7ce4919

Please sign in to comment.