(timeout?: number | V.TestOptions)
| 50 | |
| 51 | /** @internal */ |
| 52 | const testOptions = (timeout?: number | V.TestOptions) => typeof timeout === "number" ? { timeout } : timeout ?? {} |
| 53 | |
| 54 | const hookTimeout = (timeout?: Duration.Input) => |
| 55 | timeout === undefined ? undefined : Duration.toMillis(Duration.fromInputUnsafe(timeout)) |