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

Function change

packages/schematics/angular/utility/ast-utils_spec.ts:308–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

306
307 const source = getTsSource(modulePath, moduleContent);
308 const change = () => addRouteDeclarationToModule(source, './src/app', '');
309 expect(change).toThrowError(/Couldn't find a route declaration in \.\/src\/app/);
310 });
311

Callers

nothing calls this directly

Calls 2

getTsSourceFunction · 0.85

Tested by

no test coverage detected