MCPcopy Index your code
hub / github.com/tinyplex/tinybase / getDetails

Function getDetails

test/unit/core/ui-react/ui-react-inspector.test.tsx:14–18  ·  view source on GitHub ↗
(title: string)

Source from the content-addressed store, hash-verified

12import {afterEach, beforeEach, describe, expect, test, vi} from 'vitest';
13
14const getDetails = (title: string): HTMLDetailsElement => {
15 const details = screen.getByText(title).closest('details');
16 expect(details).not.toBeNull();
17 return details as HTMLDetailsElement;
18};
19
20const getSummaryAction = (title: string, actionTitle: string): HTMLElement => {
21 const summary = screen.getByText(title).closest('summary');

Callers 5

getDetailsActionFunction · 0.70
getRowActionFunction · 0.70
getValueActionFunction · 0.70
getCellActionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…