Skip to content

Commit

Permalink
fix(test-runner-chrome): fix broken test coverage. fixes #2186
Browse files Browse the repository at this point in the history
  • Loading branch information
driesva committed Mar 30, 2023
1 parent 5e28dfe commit 77e413d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/curly-poems-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@web/test-runner-chrome': patch
---

fix(test-runner-chrome): fix broken test coverage. fixes #2186
2 changes: 1 addition & 1 deletion packages/test-runner-chrome/src/ChromeLauncherPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class ChromeLauncherPage {
// get native coverage from puppeteer
// TODO: this is using a private puppeteer API to grab v8 code coverage, this can be removed
// when https://github.com/puppeteer/puppeteer/issues/2136 is resolved
const response = (await (this.puppeteerPage as any)._client.send(
const response = (await (this.puppeteerPage as any)._client().send(
'Profiler.takePreciseCoverage',
)) as {
result: V8Coverage[];
Expand Down

0 comments on commit 77e413d

Please sign in to comment.