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

Function assetDir

tests/e2e/utils/assets.ts:10–12  ·  view source on GitHub ↗
(assetName: string)

Source from the content-addressed store, hash-verified

8import { getTestProjectDir, useBuiltPackagesVersions } from './project';
9
10export function assetDir(assetName: string) {
11 return join(__dirname, '../e2e/assets', assetName);
12}
13
14export function copyProjectAsset(assetName: string, to?: string) {
15 const tempRoot = join(getGlobalVariable('projects-root'), 'test-project');

Callers 6

base.tsFile · 0.90
dir.tsFile · 0.90
file.tsFile · 0.90
runNgAddFunction · 0.90
copyProjectAssetFunction · 0.85
copyAssetsFunction · 0.85

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected