process: start coverage collection before bootstrap
This patch moves the dispatch of `Profiler.takePreciseCoverage` to a point before the bootstrap scripts are run to ensure that we can collect coverage data for all the scripts run after the inspector agent is ready. Before this patch `lib/internal/bootstrap/primordials.js` was not covered by `make coverage`, after this patch it is. PR-URL: https://github.com/nodejs/node/pull/26006 Reviewed-By:Anna Henningsen <anna@addaleax.net> Reviewed-By:
Ben Coe <bencoe@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
584dc489
Please register or sign in to comment