File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 66- npm install -g serve > /dev/null
77- serve -p 3000 > /dev/null &
88- sleep 1
9- - curl -s -L https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2 > file.tar.bz2
10- - bzip2 -d file.tar.bz2
11- - tar -xf file.tar
12- - ./phantomjs-2.1.1-linux-x86_64/bin/phantomjs test/phantom-runner.js
9+ - ./node_modules/phantomjs-prebuilt/bin/phantomjs test/phantom-runner.js
Original file line number Diff line number Diff line change 1616 "browserify" : " ^14.3.0" ,
1717 "eslint" : " ^3.17.1" ,
1818 "mocha" : " ^2.3.2" ,
19- "phantomjs" : " ^2.1.7 " ,
19+ "phantomjs-prebuilt " : " ^2.1.14 " ,
2020 "pre-commit" : " ^1.2.2" ,
2121 "should" : " ^7.1.0" ,
2222 "sinon-browser-only" : " ^1.12.1"
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ page.onConsoleMessage = function(msg) {
66
77page . open ( "http://localhost:3000/test/index.html" , function ( status ) {
88 if ( status === "success" ) {
9- var maxtimeOutMillis = 10000 ,
9+ var maxtimeOutMillis = 30000 ,
1010 start = new Date ( ) . getTime ( ) ,
1111 condition = false ,
1212 interval = setInterval ( function ( ) {
You can’t perform that action at this time.
0 commit comments