We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9788b84 commit 9b84103Copy full SHA for 9b84103
test/report/test-report-fatal-error.js
@@ -113,8 +113,8 @@ const ARGS = [
113
assert.strictEqual(reports.length, 0);
114
115
const lines = child.stderr.split('\n');
116
- // Skip over unavoidable free-form output from V8.
117
- const report = lines[1];
+ // Skip over unavoidable free-form output and gc log from V8.
+ const report = lines.find((i) => i.startsWith('{'));
118
const json = JSON.parse(report);
119
120
assert.strictEqual(json.header.threadId, null);
0 commit comments