File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 11import * as path from "path" ;
22import * as fs from "fs" ;
33
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 ) {
67 let platformData = $platformsData . getPlatformData ( $testExecutionService . platform ) ,
78 projectFilesPath = path . join ( platformData . appDestinationDirectoryPath , "app" ) ,
89 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 {
207207 } ;
208208
209209 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' ) ;
214211 const socket = this . socket = io . connect ( this . baseUrl , { forceBase64 : true } ) ;
215212
216213 socket . on ( 'connect' , err => {
You can’t perform that action at this time.
0 commit comments