Skip to content

Commit

Permalink
Move test server into script/server
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed May 4, 2015
1 parent 9d08342 commit 0080020
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/phantomjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ port=3900
while lsof -i :$((++port)) >/dev/null; do true; done

# Spin a test server in the background
node ./test/server.js $port &>/dev/null &
node ./script/server $port &>/dev/null &
server_pid=$!
trap "kill $server_pid" INT EXIT

Expand Down
2 changes: 1 addition & 1 deletion script/saucelabs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
port=8080

# Spin a test server in the background
node ./test/server.js $port &>/dev/null &
node ./script/server $port &>/dev/null &
server_pid=$!
trap "kill $server_pid" INT EXIT

Expand Down
File renamed without changes.

0 comments on commit 0080020

Please sign in to comment.