This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(test): fix npm test to install missing prerequisites
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |