Skip to content

Commit c2f0984

Browse files
🏗 Update @percy/puppeteer to v2.x and fix incompatibilities in callers (#33111)
* 📦 Update dependency @percy/puppeteer to v2 Co-authored-by: Renovate Bot <bot@renovateapp.com>
1 parent c6b122b commit c2f0984

8 files changed

Lines changed: 45895 additions & 10006 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puppeteer_skip_chromium_download=true
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# Percy Agent config.
22
# https://docs.percy.io/docs/sdk-configuration
33

4-
version: 1
4+
version: 2
55
snapshot:
66
widths:
77
- 375 # e.g., iPhone
88
- 411 # e.g., iPhone X, Pixel
99
- 1400 # e.g., common desktop width
10-
agent:
11-
asset-discovery:
12-
network-idle-timeout: 150 # ms
10+
discovery:
11+
network-idle-timeout: 150 # ms

‎build-system/tasks/visual-diff/helpers.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function escapeHtml(html) {
4848
* Logs a message to the console.
4949
*
5050
* @param {string} mode
51-
* @param {!Array<string>} messages
51+
* @param {!Array<*>} messages
5252
*/
5353
function log(mode, ...messages) {
5454
switch (mode) {

0 commit comments

Comments
 (0)