We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e14cfb commit a48d650Copy full SHA for a48d650
test/parallel/test-trace-events-vm.js
@@ -32,10 +32,10 @@ if (process.argv[2] === 'child') {
32
fs.readFile(file, common.mustCall((err, data) => {
33
const traces = JSON.parse(data.toString()).traceEvents
34
.filter((trace) => trace.cat !== '__metadata');
35
- traces.forEach((trace) => {
+ for (const trace of traces) {
36
assert.strictEqual(trace.pid, proc.pid);
37
assert(names.includes(trace.name));
38
- });
+ }
39
}));
40
41
}
0 commit comments