Skip to content

Commit 23ef152

Browse files
committed
Added missing documentation for controlling the default value of maxIterations
1 parent 2a6aef1 commit 23ef152

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

documentation/index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ return expect(function (text) {
183183
* `generators` (default []): an array of generators used to generate the example
184184
data.
185185
* `maxIterations` (default 300): the number of iterations that the subject
186-
function it ran when no errors occur.
186+
function it ran when no errors occur. You can control the default for this
187+
option by setting the environment variable `UNEXPECTED_CHECK_MAX_ITERATIONS`
188+
or setting the query parameter `maxiterations` in the browser.
187189
* `maxErrorIterations` (default 1000): the number of iterations unexpected-check
188190
can use to find a better error when an error occurs.
189191
* `maxErrors` (default 20): the number of found errors before stopping the input

0 commit comments

Comments
 (0)