(expected: any, actual: any)
| 35 | } |
| 36 | |
| 37 | export function assertExpected(expected: any, actual: any) { |
| 38 | if (expected !== actual) { |
| 39 | throw new Error(`expected: ${expected}, actual: ${actual}`); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | export async function assertExpectError(f: () => any) { |
| 44 | let gotError = false |
no outgoing calls
no test coverage detected