Commit f9ed826
fix: merge .percy.yml config options with snapshot options for serializeDOM
Config options from .percy.yml (like widths, minHeight, enableJavaScript, etc.)
were not being passed to PercyDOM.serialize(). Only per-snapshot options were used.
Now merges both, with per-snapshot options taking priority.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4bda7d4 commit f9ed826
1 file changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
356 | 368 | | |
357 | 369 | | |
358 | 370 | | |
| |||
362 | 374 | | |
363 | 375 | | |
364 | 376 | | |
365 | | - | |
366 | | - | |
| 377 | + | |
| 378 | + | |
367 | 379 | | |
368 | | - | |
| 380 | + | |
369 | 381 | | |
370 | 382 | | |
371 | 383 | | |
| |||
0 commit comments