(test: any, message?: string)
| 152 | } |
| 153 | |
| 154 | export function assert(test: any, message?: string) { |
| 155 | if (!test) { |
| 156 | throw new Error(message); |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | export function assertTrue(test: boolean, message?: string) { |
| 161 | if (test !== true) { |
no outgoing calls
no test coverage detected