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

Function instance

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

Source from the content-addressed store, hash-verified

85 )
86
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

Callers 2

statusFunction · 0.70
DevTools.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected