MCPcopy Create free account
hub / github.com/anders-swanson/oracle-database-code-samples / findMeta

Function findMeta

website/tests/seo.test.ts:71–77  ·  view source on GitHub ↗
(
    head: ReturnType<typeof buildRouteHead>,
    key: 'name' | 'property',
    value: string
  )

Source from the content-addressed store, hash-verified

69 }
70
71 function findMeta(
72 head: ReturnType<typeof buildRouteHead>,
73 key: 'name' | 'property',
74 value: string
75 ) {
76 return head.meta.find((entry) => entry[key] === value);
77 }
78
79 it('applies catalog metadata', () => {
80 const head = headFor({ name: 'catalog' });

Callers 1

seo.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected