MCPcopy Create free account
hub / github.com/Effect-TS/effect / lifecycle

Function lifecycle

packages/ui/devtools/test/DevTools.test.ts:177–180  ·  view source on GitHub ↗
(root: HTMLElement, kind: string)

Source from the content-addressed store, hash-verified

175})
176
177const lifecycle = (root: HTMLElement, kind: string) =>
178 Array.from(root.querySelectorAll(`.life tr[data-kind=${kind}] > *`)).map((
179 cell
180 ) => text(cell))
181
182const PairMessage = UiSchema.TaggedEnum({ ClickedAdd: {} })
183

Callers 1

DevTools.test.tsFile · 0.70

Calls 3

fromMethod · 0.80
textFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected