(actual: any, msg: string)
| 37 | } |
| 38 | |
| 39 | export function assertFunction(actual: any, msg: string): asserts actual is Function { |
| 40 | if (!(typeof actual === 'function')) { |
| 41 | throwError(msg, actual === null ? 'null' : typeof actual, 'function', '==='); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | export function assertEqual<T>(actual: T, expected: T, msg: string) { |
| 46 | if (!(actual == expected)) { |
no test coverage detected
searching dependent graphs…