File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function LocalBinary(){
33
33
var binaryPath = path . join ( destParentDir , 'BrowserStackLocal' ) ;
34
34
var file = fs . createWriteStream ( binaryPath ) ;
35
35
36
- https . get ( this . http_path , function ( response ) {
36
+ https . get ( this . httpPath , function ( response ) {
37
37
response . on ( 'end' , function ( ) {
38
38
fs . chmod ( binaryPath , '0755' , function ( ) {
39
39
callback ( binaryPath ) ;
Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ describe('Local', function () {
9
9
} ) ;
10
10
11
11
it ( 'should have pid when running' , function ( done ) {
12
- this . timeout ( 15000 ) ;
12
+ this . timeout ( 600000 ) ;
13
13
bsLocal . start ( { key : process . env . BROWSERSTACK_ACCESS_KEY } , function ( ) {
14
14
expect ( bsLocal . tunnel . pid ) . to . not . equal ( 0 ) ;
15
15
done ( ) ;
16
16
} ) ;
17
17
} ) ;
18
18
19
19
it ( 'should return is running properly' , function ( done ) {
20
- this . timeout ( 15000 ) ;
20
+ this . timeout ( 60000 ) ;
21
21
expect ( bsLocal . isRunning ( ) ) . to . not . equal ( true ) ;
22
22
bsLocal . start ( { key : process . env . BROWSERSTACK_ACCESS_KEY } , function ( ) {
23
23
expect ( bsLocal . isRunning ( ) ) . to . equal ( true ) ;
@@ -26,7 +26,7 @@ describe('Local', function () {
26
26
} ) ;
27
27
28
28
it ( 'should throw error on running multiple binary' , function ( done ) {
29
- this . timeout ( 25000 ) ;
29
+ this . timeout ( 60000 ) ;
30
30
bsLocal . start ( { key : process . env . BROWSERSTACK_ACCESS_KEY } , function ( ) {
31
31
bsLocal_2 = new browserstack . Local ( ) ;
32
32
try {
You can’t perform that action at this time.
0 commit comments