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

Function status

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

Source from the content-addressed store, hash-verified

87const instance = (root: HTMLElement, name: string) => root.querySelector(`[data-instance="${name}"]`)!
88
89const status = (root: HTMLElement, name: string) => text(instance(root, name).querySelector(".status")!)
90
91const find = Effect.fnUntraced(function*(root: HTMLElement, value: string) {
92 HtmlLocator.type(

Callers 1

DevTools.test.tsFile · 0.70

Calls 2

textFunction · 0.70
instanceFunction · 0.70

Tested by

no test coverage detected