Skip to content

Commit 34b62f7

Browse files
authored
fix: adjust button VRT failure threshold
1 parent bac169c commit 34b62f7

File tree

1 file changed

+2
-2
lines changed
  • packages/components/bolt-button/__tests__

1 file changed

+2
-2
lines changed

packages/components/bolt-button/__tests__/button.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ describe('button', async () => {
139139

140140
const image = await page.screenshot();
141141
expect(image).toMatchImageSnapshot({
142-
failureThreshold: '0',
142+
failureThreshold: '0.5',
143143
failureThresholdType: 'percent',
144144
});
145145

@@ -179,7 +179,7 @@ describe('button', async () => {
179179
const image = await page.screenshot();
180180

181181
expect(image).toMatchImageSnapshot({
182-
failureThreshold: '0',
182+
failureThreshold: '0.5',
183183
failureThresholdType: 'percent',
184184
});
185185

0 commit comments

Comments
 (0)