MCPcopy Index your code
hub / github.com/angular/angular-cli / cleanTestProject

Function cleanTestProject

tests/e2e_runner.ts:332–340  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330}
331
332async function cleanTestProject() {
333 await gitClean();
334
335 const testProject = getTestProjectDir();
336
337 // Note: Dist directory is not cleared between tests, as `git clean`
338 // doesn't delete it.
339 await rm(join(testProject, 'dist/'), { recursive: true, force: true });
340}
341
342function printHeader(
343 testName: string,

Callers 1

runTestFunction · 0.85

Calls 3

gitCleanFunction · 0.90
getTestProjectDirFunction · 0.90
joinFunction · 0.85

Tested by

no test coverage detected