(actual, msg = '')
| 9 | } |
| 10 | |
| 11 | export function assertTruthy(actual, msg = '') { |
| 12 | if (!actual) { |
| 13 | throw new Error(`${formatMsg(msg)}expected: truthy, actual: ${actual}`); |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | export function assertFalsy(actual, msg = '') { |
| 18 | if (actual) { |
no test coverage detected