MCPcopy Create free account
hub / github.com/tinyplex/tinybase / getValueAction

Function getValueAction

test/unit/core/ui-solid/ui-solid-inspector.test.tsx:51–59  ·  view source on GitHub ↗
(valueId: string, actionTitle: string)

Source from the content-addressed store, hash-verified

49};
50
51const getValueAction = (valueId: string, actionTitle: string): HTMLElement => {
52 const row = getDetails('Values')
53 .querySelector(`th[title="${valueId}"]`)
54 ?.closest('tr');
55 expect(row).not.toBeNull();
56 const action = row?.querySelector(`img[title="${actionTitle}"]`);
57 expect(action).not.toBeNull();
58 return action as HTMLElement;
59};
60
61const getCellAction = (
62 tableTitle: string,

Callers 1

Calls 1

getDetailsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…