Skip to content

Commit

Permalink
Update to ava 6 (#2028)
Browse files Browse the repository at this point in the history
* Update to ava 6

* Fix broken Chrome trace tests
  • Loading branch information
soulgalore authored Dec 11, 2023
1 parent 7db5ce5 commit b778fd7
Show file tree
Hide file tree
Showing 4 changed files with 967 additions and 619 deletions.
5 changes: 4 additions & 1 deletion lib/core/engine/command/chromeTrace.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,17 @@ export class ChromeTrace {

result.renderBlocking = render.renderBlocking;

// The trace do not know about the HAR file so we cannot backfill
/*
if (!this.options.skipHar) {
for (let harRequest of this.hars[this.index - 1].log.entries) {
if (render.renderBlockingInfo[harRequest.request.url]) {
harRequest._renderBlocking =
render.renderBlockingInfo[harRequest.request.url];
}
}
}
}*/
}
} else {
throw new Error('Trace only works in Chrome');
Expand Down
Loading

0 comments on commit b778fd7

Please sign in to comment.