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

Function runConfigSchematic

packages/schematics/angular/config/index_spec.ts:35–44  ·  view source on GitHub ↗
(type: ConfigType)

Source from the content-addressed store, hash-verified

33
34 let applicationTree: UnitTestTree;
35 function runConfigSchematic(type: ConfigType): Promise<UnitTestTree> {
36 return schematicRunner.runSchematic<ConfigOptions>(
37 'config',
38 {
39 project: 'foo',
40 type,
41 },
42 applicationTree,
43 );
44 }
45
46 beforeEach(async () => {
47 const workspaceTree = await schematicRunner.runSchematic('workspace', workspaceOptions);

Callers 1

index_spec.tsFile · 0.70

Calls 1

runSchematicMethod · 0.80

Tested by

no test coverage detected