()
| 38 | } |
| 39 | |
| 40 | function eeTest() { |
| 41 | child.stdin.write('setTimeout(function() {\n' + |
| 42 | ' const events = require("events");\n' + |
| 43 | ' let e = new events.EventEmitter;\n' + |
| 44 | ' process.nextTick(function() {\n' + |
| 45 | ' e.on("x", thrower);\n' + |
| 46 | ' setTimeout(function() {\n' + |
| 47 | ' e.emit("x");\n' + |
| 48 | ' });\n' + |
| 49 | ' });\n' + |
| 50 | '});"";\n'); |
| 51 | } |
| 52 | }); |
| 53 | |
| 54 | child.on('close', common.mustCall((c) => { |
nothing calls this directly
no test coverage detected
searching dependent graphs…