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 <benjamingr@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • 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.