Skip to content

Commit adebee4

Browse files
committed
test: changed to pixel ratio
1 parent 96cad50 commit adebee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit-headless/playwright.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default defineConfig({
4949

5050
expect: {
5151
toHaveScreenshot: {
52-
maxDiffPixels: 10,
52+
maxDiffPixelRatio: 0.02,
5353
},
5454
},
5555
},

0 commit comments

Comments
 (0)