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

Function cardName

packages/effect/test/ui/WorkedExample.test.ts:54–54  ·  view source on GitHub ↗
(root: Root)

Source from the content-addressed store, hash-verified

52}
53/** The card's heading: the user's name as the card shows it. */
54const cardName = (root: Root) => Locator.textOf(root.get(Locator.tag("h2")))
55const fetchesOf = (root: Root, read: string) => root.fetches().filter((fetch) => fetch.query === read)
56const count = (text: string, part: string) => text.split(part).length - 1
57

Callers 1

Calls 2

getMethod · 0.65
tagMethod · 0.65

Tested by

no test coverage detected