File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
import * as path from "path" ;
2
2
import * as fs from "fs" ;
3
3
4
- module . exports = function ( $platformsData , $testExecutionService , $options ) {
5
- if ( $testExecutionService && $testExecutionService . platform && ! $options . bundle ) {
4
+ module . exports = function ( hookArgs , $platformsData , $testExecutionService ) {
5
+ const bundle = hookArgs && hookArgs . appFilesUpdaterOptions && hookArgs . appFilesUpdaterOptions . bundle ;
6
+ if ( $testExecutionService && $testExecutionService . platform && ! bundle ) {
6
7
let platformData = $platformsData . getPlatformData ( $testExecutionService . platform ) ,
7
8
projectFilesPath = path . join ( platformData . appDestinationDirectoryPath , "app" ) ,
8
9
packageJsonPath = path . join ( projectFilesPath , 'package.json' ) ,
Original file line number Diff line number Diff line change @@ -207,10 +207,7 @@ export class TestBrokerViewModel extends Observable {
207
207
} ;
208
208
209
209
this . updateView ( { serverInfo : `connecting to ${ this . baseUrl } ` } ) ;
210
- let io = null ;
211
- // if (!global.TNS_WEBPACK) {
212
- io = require ( './socket.io' ) ;
213
- // }
210
+ let io = require ( './socket.io' ) ;
214
211
const socket = this . socket = io . connect ( this . baseUrl , { forceBase64 : true } ) ;
215
212
216
213
socket . on ( 'connect' , err => {
You can’t perform that action at this time.
0 commit comments