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

Commit 7ce4919

Browse files
committed
chore(test): fix npm test to install missing prerequisites
1 parent 7b371fc commit 7ce4919

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
"mocha": "2.3.4",
3232
"express": "~4.13.3",
3333
"body-parser": "1.14.2",
34-
"rimraf": "~2.5.0"
34+
"rimraf": "~2.5.0",
35+
"lodash": "^2.4.1",
36+
"marked": "^0.3.3"
3537
},
3638
"repository": {
3739
"type": "git",

scripts/pretest.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash
22
# When running `npm test`, this script is intended to run during pretest step.
33

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

0 commit comments

Comments
 (0)