Skip to content

Commit

Permalink
feat: 差分の許容ピクセル数を設定
Browse files Browse the repository at this point in the history
  • Loading branch information
totto2727 committed Apr 23, 2024
1 parent 02445f2 commit 5e121ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default defineConfig({
// Matcherのグローバル設定
expect: {
toHaveScreenshot: {
maxDiffPixelRatio: 0.01,
threshold: 0.5,
},
},
Expand Down

0 comments on commit 5e121ee

Please sign in to comment.