(name: string, fn: () => void)
| 13 | const failures: string[] = []; |
| 14 | |
| 15 | function test(name: string, fn: () => void): void { |
| 16 | try { |
| 17 | fn(); |
| 18 | passed += 1; |
| 19 | } catch (err) { |
| 20 | failures.push(`${name}: ${err instanceof Error ? err.message : String(err)}`); |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | const item = (over: Partial<OasdiffItem> = {}): OasdiffItem => ({ |
| 25 | id: 'api-removed-without-deprecation', |
no test coverage detected