File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ async function testNoServerNoCrash() {
10
10
const instance = new NodeInstance ( [ ] ,
11
11
`process._debugEnd();
12
12
process.exit(42);` ) ;
13
- strictEqual ( 42 , ( await instance . expectShutdown ( ) ) . exitCode ) ;
13
+ strictEqual ( ( await instance . expectShutdown ( ) ) . exitCode , 42 ) ;
14
14
}
15
15
16
16
async function testNoSessionNoCrash ( ) {
17
17
console . log ( 'Test there\'s no crash stopping server without connecting' ) ;
18
18
const instance = new NodeInstance ( '--inspect=0' ,
19
19
'process._debugEnd();process.exit(42);' ) ;
20
- strictEqual ( 42 , ( await instance . expectShutdown ( ) ) . exitCode ) ;
20
+ strictEqual ( ( await instance . expectShutdown ( ) ) . exitCode , 42 ) ;
21
21
}
22
22
23
23
async function testSessionNoCrash ( ) {
@@ -33,7 +33,7 @@ async function testSessionNoCrash() {
33
33
const session = await instance . connectInspectorSession ( ) ;
34
34
await session . send ( { 'method' : 'Runtime.runIfWaitingForDebugger' } ) ;
35
35
await session . waitForServerDisconnect ( ) ;
36
- strictEqual ( 42 , ( await instance . expectShutdown ( ) ) . exitCode ) ;
36
+ strictEqual ( ( await instance . expectShutdown ( ) ) . exitCode , 42 ) ;
37
37
}
38
38
39
39
async function runTest ( ) {
You can’t perform that action at this time.
0 commit comments