diff --git a/src/components/__tests__/DropdownSelect.spec.ts b/src/components/__tests__/DropdownSelect.spec.ts index 19d6435..ddca569 100644 --- a/src/components/__tests__/DropdownSelect.spec.ts +++ b/src/components/__tests__/DropdownSelect.spec.ts @@ -6,7 +6,7 @@ import "html-validate/vitest"; describe("Dropdown Select", () => { // We need a retry here because the performance.now can be flakey - it("renders correctly", { retry: 3 }, async () => { + it("renders correctly", { retry: 5 }, async () => { const start = performance.now(); const wrapper = mount(DropdownSelect, { @@ -457,7 +457,7 @@ describe("Dropdown Select", () => { // We need a retry here because the performance.now can be flakey it( "should render a large number of options, 1000000, in less than 200ms", - { retry: 3 }, + { retry: 5 }, () => { const options = Array.from({ length: 1000000 }, (_, i) => `Option ${i}`); const start = performance.now(); diff --git a/src/helpers/__tests__/normaliseOptions.spec.ts b/src/helpers/__tests__/normaliseOptions.spec.ts index 984291c..e854b85 100644 --- a/src/helpers/__tests__/normaliseOptions.spec.ts +++ b/src/helpers/__tests__/normaliseOptions.spec.ts @@ -8,7 +8,7 @@ import { describe("filterOptions Functions", () => { // We need a retry here because the performance.now can be flakey - it("is performant with a large number of options", { retry: 3 }, () => { + it("is performant with a large number of options", { retry: 5 }, () => { const generatedOptions = Array.from({ length: 1000000 }, (_, i) => ({ id: i, render: `Option ${i}`,