Skip to content

Commit

Permalink
fix: update test config
Browse files Browse the repository at this point in the history
  • Loading branch information
sghoweri committed Apr 29, 2020
1 parent 653ea41 commit 949b193
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/components/bolt-accordion/__tests__/accordion.js
Expand Up @@ -229,7 +229,7 @@ describe('<bolt-accordion> Component', () => {
const image = await page.screenshot();

expect(image).toMatchImageSnapshot({
failureThreshold: '0.0025',
failureThreshold: 0.0025,
failureThresholdType: 'percent',
});

Expand All @@ -240,7 +240,7 @@ describe('<bolt-accordion> Component', () => {
const imageAfterOpeningSecondItem = await page.screenshot();

expect(imageAfterOpeningSecondItem).toMatchImageSnapshot({
failureThreshold: '0.0025',
failureThreshold: 0.0025,
failureThresholdType: 'percent',
});

Expand All @@ -251,7 +251,7 @@ describe('<bolt-accordion> Component', () => {
const imageAfterOpeningThirdItem = await page.screenshot();

expect(imageAfterOpeningThirdItem).toMatchImageSnapshot({
failureThreshold: '0.0025',
failureThreshold: 0.0025,
failureThresholdType: 'percent',
});
});
Expand Down

0 comments on commit 949b193

Please sign in to comment.