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

Function configureTest

tests/e2e/tests/commands/cache/cache-info.ts:65–78  ·  view source on GitHub ↗
(
  envCI: '1' | '0',
  cacheOptions?: {
    environment?: 'ci' | 'local' | 'all';
    enabled?: boolean;
  },
)

Source from the content-addressed store, hash-verified

63}
64
65async function configureTest(
66 envCI: '1' | '0',
67 cacheOptions?: {
68 environment?: 'ci' | 'local' | 'all';
69 enabled?: boolean;
70 },
71): Promise<void> {
72 process.env['CI'] = envCI;
73
74 await updateJsonFile('angular.json', (config) => {
75 config.cli ??= {};
76 config.cli.cache = cacheOptions;
77 });
78}

Callers 1

cache-info.tsFile · 0.70

Calls 1

updateJsonFileFunction · 0.90

Tested by

no test coverage detected