MCPcopy
hub / github.com/SBoudrias/Inquirer.js / clear

Method clear

packages/testing/src/screen.ts:166–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164 }
165
166 clear(): void {
167 // Recreate input stream to ensure clean state
168 this.#input = new MuteStream();
169 this.#input.unmute();
170 // Reset output tracking
171 this.#outputs = [];
172 this.#currentOutput = null;
173 this.#activePromise = null;
174 this.#rendersConsumed = 0;
175 this.#renderResolve = null;
176 }
177}

Callers 5

errorFunction · 0.45
completeFunction · 0.45
demo.test.tsFile · 0.45
vitest.tsFile · 0.45
jest.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected