Closed dfellis closed 10 years ago
lgtm.
@dfellis I do this this ( https://github.com/uber/uncaught-exception/blob/master/test/shutdown.js#L22-L44 ) to code coverage child processes.
@Raynos holy crap that looks painful. Any way you can make that pattern a module and/or get it merged into istanbul? :)
@dfellis i can make it a module at some point
if i make a module i want to support, spawn, exec & cluster.fork
cc @Raynos
The coverage on the childProcess code is wrong since istanbul cannot check coverage in child processes, yet.
Also, wouldn't mind if you put up some PRs to make the module structure a bit more "standard", though I'll prefer to keep
npm run realpublish
until you've thought over another way to auto-generate code documentation. :)