MCPcopy Create free account
hub / github.com/Noumena-Network/code / createFakeOutput

Function createFakeOutput

src/components/Markdown.robustness.test.tsx:52–59  ·  view source on GitHub ↗
(columns: number, rows: number)

Source from the content-addressed store, hash-verified

50}
51
52function createFakeOutput(columns: number, rows: number): FakeOutput {
53 const stdout = new PassThrough() as FakeOutput
54 stdout.isTTY = true
55 stdout.columns = columns
56 stdout.rows = rows
57 stdout.getWindowSize = () => [columns, rows]
58 return stdout
59}
60
61async function waitFor(
62 predicate: () => boolean,

Callers 1

renderComponentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected