()
| 5 | const { NodeInstance } = require('../common/inspector-helper.js'); |
| 6 | |
| 7 | async function testNoServerNoCrash() { |
| 8 | console.log('Test there\'s no crash stopping server that was not started'); |
| 9 | const instance = new NodeInstance([], |
| 10 | `process._debugEnd(); |
| 11 | process.exit(42);`); |
| 12 | assert.strictEqual((await instance.expectShutdown()).exitCode, 42); |
| 13 | } |
| 14 | |
| 15 | async function testNoSessionNoCrash() { |
| 16 | console.log('Test there\'s no crash stopping server without connecting'); |
no test coverage detected