(prefix: string, tempRoot?: string)
| 19 | } |
| 20 | |
| 21 | export async function mktempd(prefix: string, tempRoot?: string): Promise<string> { |
| 22 | return realpath(await mkdtemp(path.join(tempRoot ?? tmpdir(), prefix))); |
| 23 | } |
| 24 | |
| 25 | export async function mockHome(cb: (home: string) => Promise<void>): Promise<void> { |
| 26 | const tempHome = await mktempd('angular-cli-e2e-home-'); |
no outgoing calls
no test coverage detected