(over: Partial<OasdiffItem> = {})
| 22 | } |
| 23 | |
| 24 | const item = (over: Partial<OasdiffItem> = {}): OasdiffItem => ({ |
| 25 | id: 'api-removed-without-deprecation', |
| 26 | text: 'api removed without deprecation', |
| 27 | level: 3, |
| 28 | operation: 'GET', |
| 29 | path: '/api/v1/foo', |
| 30 | ...over, |
| 31 | }); |
| 32 | |
| 33 | test('empty list => not breaking, no changes', () => { |
| 34 | const r = summarizeBreaking([]); |