aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-trace-events-async-hooks-dynamic.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-trace-events-async-hooks-dynamic.js')
-rw-r--r--test/parallel/test-trace-events-async-hooks-dynamic.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-trace-events-async-hooks-dynamic.js b/test/parallel/test-trace-events-async-hooks-dynamic.js
index 9cb0d41c54..b660f7f8d4 100644
--- a/test/parallel/test-trace-events-async-hooks-dynamic.js
+++ b/test/parallel/test-trace-events-async-hooks-dynamic.js
@@ -18,7 +18,7 @@ const path = require('path');
const enable = `require("trace_events").createTracing(
{ categories: ["node.async_hooks"] }).enable();`;
const code =
- 'setTimeout(() => { for (var i = 0; i < 100000; i++) { "test" + i } }, 1)';
+ 'setTimeout(() => { for (let i = 0; i < 100000; i++) { "test" + i } }, 1)';
const tmpdir = require('../common/tmpdir');
const filename = path.join(tmpdir.path, 'node_trace.1.log');