Commit d1aefb6
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 bea2879 commit d1aefb6
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
375 | 379 | | |
376 | | - | |
| 380 | + | |
377 | 381 | | |
378 | 382 | | |
379 | 383 | | |
380 | 384 | | |
381 | 385 | | |
382 | | - | |
| 386 | + | |
383 | 387 | | |
384 | 388 | | |
385 | 389 | | |
386 | | - | |
| 390 | + | |
387 | 391 | | |
388 | 392 | | |
389 | 393 | | |
| |||
0 commit comments