diff --git a/test/parallel/test-bootstrap-modules.js b/test/parallel/test-bootstrap-modules.js index 1ed76dd6bd48a3..5c4def64cd0aa0 100644 --- a/test/parallel/test-bootstrap-modules.js +++ b/test/parallel/test-bootstrap-modules.js @@ -160,6 +160,11 @@ if (process.features.inspector) { expected.beforePreExec.add('Internal Binding inspector'); expected.beforePreExec.add('NativeModule internal/util/inspector'); expected.atRunTime.add('NativeModule internal/inspector_async_hook'); + + // This is loaded if the test is run with NODE_V8_COVERAGE. + if (process.env.NODE_V8_COVERAGE) { + expected.atRunTime.add('Internal Binding profiler'); + } } const difference = (setA, setB) => {