@@ -33,33 +33,27 @@ describe('WebDriverAgent', function () {
3333 expect ( agent . agentPath ) . to . eql ( defaultAgentPath ) ;
3434 } ) ;
3535 it ( 'should have custom wda bootstrap and default agent if only bootstrap specified' , function ( ) {
36- const agent = new WebDriverAgent (
37- {
38- ...fakeConstructorArgs ,
39- bootstrapPath : customBootstrapPath ,
40- } ,
41- ) ;
36+ const agent = new WebDriverAgent ( {
37+ ...fakeConstructorArgs ,
38+ bootstrapPath : customBootstrapPath ,
39+ } ) ;
4240 expect ( agent . bootstrapPath ) . to . eql ( customBootstrapPath ) ;
4341 expect ( agent . agentPath ) . to . eql ( path . resolve ( customBootstrapPath , 'WebDriverAgent.xcodeproj' ) ) ;
4442 } ) ;
4543 it ( 'should have custom wda bootstrap and agent if both specified' , function ( ) {
46- const agent = new WebDriverAgent (
47- {
48- ...fakeConstructorArgs ,
49- bootstrapPath : customBootstrapPath ,
50- agentPath : customAgentPath ,
51- } ,
52- ) ;
44+ const agent = new WebDriverAgent ( {
45+ ...fakeConstructorArgs ,
46+ bootstrapPath : customBootstrapPath ,
47+ agentPath : customAgentPath ,
48+ } ) ;
5349 expect ( agent . bootstrapPath ) . to . eql ( customBootstrapPath ) ;
5450 expect ( agent . agentPath ) . to . eql ( customAgentPath ) ;
5551 } ) ;
5652 it ( 'should have custom derivedDataPath if specified' , function ( ) {
57- const agent = new WebDriverAgent (
58- {
59- ...fakeConstructorArgs ,
60- derivedDataPath : customDerivedDataPath ,
61- } ,
62- ) ;
53+ const agent = new WebDriverAgent ( {
54+ ...fakeConstructorArgs ,
55+ derivedDataPath : customDerivedDataPath ,
56+ } ) ;
6357 if ( agent . xcodebuild ) {
6458 expect ( agent . xcodebuild . derivedDataPath ) . to . eql ( customDerivedDataPath ) ;
6559 }
0 commit comments