summaryrefslogtreecommitdiff
path: root/test/parallel/test-trace-events-async-hooks-worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-trace-events-async-hooks-worker.js')
-rw-r--r--test/parallel/test-trace-events-async-hooks-worker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-trace-events-async-hooks-worker.js b/test/parallel/test-trace-events-async-hooks-worker.js
index 153ef30187..185f310f89 100644
--- a/test/parallel/test-trace-events-async-hooks-worker.js
+++ b/test/parallel/test-trace-events-async-hooks-worker.js
@@ -16,7 +16,7 @@ const fs = require('fs');
const path = require('path');
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 worker =
`const { Worker } = require('worker_threads');
const worker = new Worker('${code}',