MCPcopy
hub / github.com/freshframework/fresh / stubConfirm

Function stubConfirm

packages/init/src/init_test.ts:27–33  ·  view source on GitHub ↗
(steps: Record<string, boolean> = {})

Source from the content-addressed store, hash-verified

25}
26
27function stubConfirm(steps: Record<string, boolean> = {}) {
28 return stub(
29 globalThis,
30 "confirm",
31 (message) => message ? steps[message] : false,
32 );
33}
34
35function stubLogs() {
36 return stub(

Callers 1

init_test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected