Skip to content

Commit

Permalink
馃挌 Reduce flakiness of array e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Dec 22, 2020
1 parent c16da41 commit ffdc6d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/arbitraries/ArrayArbitrary.spec.ts
Expand Up @@ -64,7 +64,7 @@ function biasIts<T>(label: string, arb: fc.Arbitrary<T>) {
const filtered = removeDuplicates(arr);
expect(filtered).toHaveLength(new Set(filtered).size); // expect no duplicates (but will find some)
}),
{ seed, numRuns: 5000 } // increased numRuns to remove flakiness
{ seed, numRuns: 10000 } // increased numRuns to remove flakiness
);
expect(out.failed).toBe(true);
expect(out.counterexample![0]).toHaveLength(2);
Expand Down

0 comments on commit ffdc6d7

Please sign in to comment.