Skip to main content

property Deno.TestDefinition.timeout

Maximum duration in milliseconds that the test is allowed to run before being marked as a failed test. Both asynchronous hangs and synchronous hot loops are caught.

If unset or 0, the test runs without a deadline.

Type #

number

Did you find what you needed?

Privacy policy