(cwd, input, flags = {})
| 17 | (globalThis as any).INIT_TEST = true; |
| 18 | |
| 19 | const testInitProject: typeof initProject = async (cwd, input, flags = {}) => { |
| 20 | return await initProject(cwd, input, { ...flags, skipInstall: true }); |
| 21 | }; |
| 22 | |
| 23 | function stubPrompt(result: string) { |
| 24 | return stub(globalThis, "prompt", () => result); |
no test coverage detected