(actual: T, expected: T, msg: string)
| 55 | } |
| 56 | |
| 57 | export function assertSame<T>(actual: T, expected: T, msg: string): asserts actual is T { |
| 58 | if (!(actual === expected)) { |
| 59 | throwError(msg, actual, expected, '==='); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | export function assertNotSame<T>(actual: T, expected: T, msg: string) { |
| 64 | if (!(actual !== expected)) { |
no test coverage detected
searching dependent graphs…