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

Function findFrame

packages/effect/test/unstable/cli/Prompt.test.ts:50–50  ·  view source on GitHub ↗
(frames: ReadonlyArray<string>, text: string)

Source from the content-addressed store, hash-verified

48 .filter((line) => stripAnsi(line).split(bell).join("").trim().length > 0)
49
50const findFrame = (frames: ReadonlyArray<string>, text: string) => frames.find((frame) => frame.includes(text))
51
52describe("Prompt.date", () => {
53 it.effect("renders two-digit years, teen ordinals, and noon meridiem correctly", () =>

Callers 1

Prompt.test.tsFile · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected