(assertion: boolean, message: string)
| 6 | * @param {string} message The assertion message |
| 7 | */ |
| 8 | export default function check (assertion: boolean, message: string) { |
| 9 | if (!assertion) { |
| 10 | throw new Error(message) |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * @param {any} classNames The class names |
no outgoing calls
no test coverage detected