Commit fa6243e
committed
fix visual tests: use single snapshot set with higher tolerance
Drop platform-specific snapshot directories and the useless
--update-snapshots CI step. Use a single set of snapshots with
maxDiffPixelRatio of 0.15 to account for cross-platform canvas
rendering differences (Linux vs macOS use different graphics
stacks for sub-pixel antialiasing on rotated images).1 parent c0876ca commit fa6243e
12 files changed
Lines changed: 2 additions & 7 deletions
File tree
- .github/workflows
- packages/lib
- tests/__screenshots__/canvas.test.ts
- darwin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 55 | | |
60 | 56 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
Binary file not shown.
0 commit comments