Skip to content

Commit

Permalink
test: verify threadId in reports
Browse files Browse the repository at this point in the history
PR-URL: #31556
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
Dylan Coakley authored and codebytere committed Feb 17, 2020
1 parent 10f9abe commit 23da559
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/report/test-report-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ async function basic() {
helper.validateContent(report);
assert.strictEqual(report.workers.length, 1);
helper.validateContent(report.workers[0]);
assert.strictEqual(report.workers[0].header.threadId, w.threadId);

w.postMessage({});

Expand Down

0 comments on commit 23da559

Please sign in to comment.