(condition, message)
| 44 | } |
| 45 | |
| 46 | function assertTrue(condition, message) { |
| 47 | if (!condition) { |
| 48 | throw new Error(message || "Assertion failed"); |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | function withTimeout(promise, label, ms = 10000) { |
| 53 | let timer = null; |
no outgoing calls
no test coverage detected