@@ -85,9 +85,9 @@ function testBreakpointOnStart(session) {
8585 { 'method' : 'Runtime.runIfWaitingForDebugger' }
8686 ] ;
8787
88- session .
89- sendInspectorCommands ( commands ) .
90- expectMessages ( setupExpectBreakOnLine ( 0 , session . mainScriptPath , session ) ) ;
88+ session
89+ . sendInspectorCommands ( commands )
90+ . expectMessages ( setupExpectBreakOnLine ( 0 , session . mainScriptPath , session ) ) ;
9191}
9292
9393function testSetBreakpointAndResume ( session ) {
@@ -105,9 +105,9 @@ function testSetBreakpointAndResume(session) {
105105 'params' : { 'scriptId' : session . mainScriptId } } ,
106106 expectMainScriptSource ] ,
107107 ] ;
108- session .
109- sendInspectorCommands ( commands ) .
110- expectMessages ( [
108+ session
109+ . sendInspectorCommands ( commands )
110+ . expectMessages ( [
111111 setupExpectConsoleOutput ( 'log' , [ 'A message' , 5 ] ) ,
112112 setupExpectBreakOnLine ( 5 , session . mainScriptPath ,
113113 session , ( id ) => scopeId = id ) ,
@@ -131,7 +131,7 @@ function testInspectScope(session) {
131131 [
132132 {
133133 'method' : 'Debugger.evaluateOnCallFrame' , 'params' : {
134- 'callFrameId' : '{\ "ordinal\ ":0,\ "injectedScriptId\ ":1}' ,
134+ 'callFrameId' : '{"ordinal":0,"injectedScriptId":1}' ,
135135 'expression' : 'k + t' ,
136136 'objectGroup' : 'console' ,
137137 'includeCommandLineAPI' : true ,
@@ -153,9 +153,9 @@ function testInspectScope(session) {
153153
154154function testWaitsForFrontendDisconnect ( session , harness ) {
155155 console . log ( '[test]' , 'Verify node waits for the frontend to disconnect' ) ;
156- session . sendInspectorCommands ( { 'method' : 'Debugger.resume' } ) .
157- expectStderrOutput ( 'Waiting for the debugger to disconnect...' ) .
158- disconnect ( true ) ;
156+ session . sendInspectorCommands ( { 'method' : 'Debugger.resume' } )
157+ . expectStderrOutput ( 'Waiting for the debugger to disconnect...' )
158+ . disconnect ( true ) ;
159159}
160160
161161function runTests ( harness ) {
0 commit comments