MCPcopy Create free account
hub / github.com/lightdash/lightdash / item

Function item

scripts/rest-api-diff.test.ts:24–31  ·  view source on GitHub ↗
(over: Partial<OasdiffItem> = {})

Source from the content-addressed store, hash-verified

22}
23
24const 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
33test('empty list => not breaking, no changes', () => {
34 const r = summarizeBreaking([]);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected