()
| 66 | } |
| 67 | |
| 68 | async function runTests() { |
| 69 | // NOTE(mmarchini): Use --inspect-brk to improve avoid indeterministic |
| 70 | // behavior. |
| 71 | const child = new NodeInstance(['--inspect-brk=0'], undefined, script); |
| 72 | const session = await child.connectInspectorSession(); |
| 73 | await setupDebugger(session); |
| 74 | await breakOnLine(session); |
| 75 | await stepOverConsoleStatement(session); |
| 76 | await session.runToCompletion(); |
| 77 | assert.strictEqual((await child.expectShutdown()).exitCode, 0); |
| 78 | } |
| 79 | |
| 80 | runTests().then(common.mustCall()); |
no test coverage detected
searching dependent graphs…