Skip to content

Commit

Permalink
test(perf): fix reduce performance measure threshold (#2537)
Browse files Browse the repository at this point in the history
  • Loading branch information
markov00 authored Oct 3, 2024
1 parent c3aba88 commit fa97790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/tests/performance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ test.describe('Performance', () => {
// eslint-disable-next-line no-console
console.log('window.performance.getEntriesByType("measure")', getAllMeasures);
// using these two values as min/max to understand if we are increasing or decreasing the rendering speed.
expect(getAllMeasures[0].duration).toBeGreaterThan(1500);
expect(getAllMeasures[0].duration).toBeLessThan(1800);
expect(getAllMeasures[0].duration).toBeGreaterThan(1400);
expect(getAllMeasures[0].duration).toBeLessThan(1600);
});
}
});

0 comments on commit fa97790

Please sign in to comment.