File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ async function testNoServerNoCrash() {
1010 const instance = new NodeInstance ( [ ] ,
1111 `process._debugEnd();
1212 process.exit(42);` ) ;
13- strictEqual ( 42 , ( await instance . expectShutdown ( ) ) . exitCode ) ;
13+ strictEqual ( ( await instance . expectShutdown ( ) ) . exitCode , 42 ) ;
1414}
1515
1616async function testNoSessionNoCrash ( ) {
1717 console . log ( 'Test there\'s no crash stopping server without connecting' ) ;
1818 const instance = new NodeInstance ( '--inspect=0' ,
1919 'process._debugEnd();process.exit(42);' ) ;
20- strictEqual ( 42 , ( await instance . expectShutdown ( ) ) . exitCode ) ;
20+ strictEqual ( ( await instance . expectShutdown ( ) ) . exitCode , 42 ) ;
2121}
2222
2323async function testSessionNoCrash ( ) {
@@ -33,7 +33,7 @@ async function testSessionNoCrash() {
3333 const session = await instance . connectInspectorSession ( ) ;
3434 await session . send ( { 'method' : 'Runtime.runIfWaitingForDebugger' } ) ;
3535 await session . waitForServerDisconnect ( ) ;
36- strictEqual ( 42 , ( await instance . expectShutdown ( ) ) . exitCode ) ;
36+ strictEqual ( ( await instance . expectShutdown ( ) ) . exitCode , 42 ) ;
3737}
3838
3939async function runTest ( ) {
You can’t perform that action at this time.
0 commit comments