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

Function createFakeInput

src/components/Markdown.robustness.test.tsx:40–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38})
39
40function createFakeInput(): FakeInput {
41 const stdin = new PassThrough() as FakeInput
42 stdin.isTTY = true
43 stdin.isRaw = false
44 stdin.setRawMode = (raw: boolean) => {
45 stdin.isRaw = raw
46 }
47 stdin.ref = () => stdin
48 stdin.unref = () => stdin
49 return stdin
50}
51
52function createFakeOutput(columns: number, rows: number): FakeOutput {
53 const stdout = new PassThrough() as FakeOutput

Callers 1

renderComponentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected