(execArgv)
| 10 | const path = require('path'); |
| 11 | |
| 12 | function test(execArgv) { |
| 13 | const child = cp.spawn(process.execPath, execArgv); |
| 14 | |
| 15 | child.stderr.once('data', common.mustCall(function() { |
| 16 | child.kill('SIGTERM'); |
| 17 | })); |
| 18 | |
| 19 | child.on('exit', common.mustCall(function(code, signal) { |
| 20 | assert.strictEqual(signal, 'SIGTERM'); |
| 21 | })); |
| 22 | } |
| 23 | |
| 24 | test([ |
| 25 | '--require', |
no test coverage detected
searching dependent graphs…