Skip to content

Commit

Permalink
tests: added retry on flakey performance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mwargan committed Apr 17, 2024
1 parent fea7b03 commit ef4f144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/__tests__/normaliseOptions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe("filterOptions Functions", () => {
const start = performance.now();
const normalisedOptions = normaliseOptions(generatedOptions);
const end = performance.now();
expect(end - start).toBeLessThan(200); // should be set to 100 but it makes test flakey
expect(end - start).toBeLessThan(225); // should be set to 100 but it makes test flakey

expect(normalisedOptions.length).toBe(1000000);

Expand Down

0 comments on commit ef4f144

Please sign in to comment.