(value: number)
| 353 | } |
| 354 | |
| 355 | function validateDuration(value: number): number { |
| 356 | if (!Number.isFinite(value) || value < 0) { |
| 357 | throw new TypeError(`Test durations must be finite and non-negative. Received ${value}.`); |
| 358 | } |
| 359 | return value; |
| 360 | } |
| 361 | |
| 362 | function readMarbleValue<T>(character: string, values?: MarbleValueLookup<T>): T { |
| 363 | if (values === undefined) { |
no outgoing calls
no test coverage detected