Unverified Commit 2ae45d3b authored by Joyee Cheung's avatar Joyee Cheung
Browse files

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: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarBen Coe <bencoe@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 584dc489
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment