MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / resetForTests

Function resetForTests

cli/src/cli/readline.ts:88–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 return;
87 }
88 // As backup, use the typed answer and preserve previous history (newest-first, like Node readline).
89 if (answer !== null && answer.length > 0 && history[0] !== answer) {
90 history.unshift(answer);
91 trimHistory();
92 }
93}
94

Callers 1

readline.test.tsFile · 0.90

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected