MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / testRow

Function testRow

ui/src/lib/entry-model.ts:164–175  ·  view source on GitHub ↗
(test: WireEntryTest)

Source from the content-addressed store, hash-verified

162}
163
164export function testRow(test: WireEntryTest): EntryRow {
165 return {
166 id: `test:${test.file}`,
167 name: basename(test.file),
168 method: null,
169 kind: 'file',
170 meta: `exercises ${plural(test.reaches, 'file')} · ${plural(test.refs, 'reference')}`,
171 target: { type: 'file', path: test.file },
172 flowFrom: null,
173 title: test.file,
174 };
175}
176
177export function hubRow(hub: WireEntryHub): EntryRow {
178 return {

Callers 1

buildEntryPanelFunction · 0.85

Calls 2

basenameFunction · 0.90
pluralFunction · 0.90

Tested by

no test coverage detected