File tree Expand file tree Collapse file tree 1 file changed +18
-14
lines changed Expand file tree Collapse file tree 1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -83,20 +83,24 @@ class Tls {
8383 }
8484
8585 startCucs ( ) {
86- model . cuc . startCuc ( {
87- reset : this . reset ,
88- app : {
89- log : this . #log,
90- status : this . #status,
91- testSessionId : this . #testingProps. runableSessionProps . sessionProps . testSession . id ,
92- cucumberArgs : this . #createCucumberArgs( this . #testingProps. runableSessionProps ) ,
93- debug : {
94- execArgvDebugString : this . #debug. execArgvDebugString ,
95- firstChildProcessInspectPort : this . #debug. firstChildProcessInspectPort
96- }
97- } ,
98- appInstance : this
99- } ) ;
86+ if ( this . #testingProps) {
87+ model . cuc . startCuc ( {
88+ reset : this . reset ,
89+ app : {
90+ log : this . #log,
91+ status : this . #status,
92+ testSessionId : this . #testingProps. runableSessionProps . sessionProps . testSession . id ,
93+ cucumberArgs : this . #createCucumberArgs( this . #testingProps. runableSessionProps ) ,
94+ debug : {
95+ execArgvDebugString : this . #debug. execArgvDebugString ,
96+ firstChildProcessInspectPort : this . #debug. firstChildProcessInspectPort
97+ }
98+ } ,
99+ appInstance : this
100+ } ) ;
101+ } else {
102+ this . #log. error ( 'this.#testingProps was falsy. It appears that the Tester was reset between calling initTester and startCucs' , { tags : [ 'tls' ] } ) ;
103+ }
100104 }
101105
102106 async testPlan ( testJob ) { // eslint-disable-line no-unused-vars
You can’t perform that action at this time.
0 commit comments