diff --git a/test/parallel/test-module-print-timing.mjs b/test/parallel/test-module-print-timing.mjs index 032bd792cc8982..0cb7189d3114af 100644 --- a/test/parallel/test-module-print-timing.mjs +++ b/test/parallel/test-module-print-timing.mjs @@ -11,6 +11,7 @@ it('should print the timing information for cjs', () => { const result = spawnSyncAndAssert(process.execPath, ['--eval', 'require("url");'], { cwd: tmpdir.path, env: { + ...process.env, NODE_DEBUG: 'module_timer', }, }, { @@ -68,6 +69,7 @@ it('should write tracing & print logs for cjs', async () => { ], { cwd: tmpdir.path, env: { + ...process.env, NODE_DEBUG: 'module_timer', }, }, {