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

Function getJsonFileContent

packages/schematics/angular/library/index_spec.ts:17–19  ·  view source on GitHub ↗
(tree: UnitTestTree, path: string)

Source from the content-addressed store, hash-verified

15
16// eslint-disable-next-line @typescript-eslint/no-explicit-any
17function getJsonFileContent(tree: UnitTestTree, path: string): any {
18 return tree.readJson(path);
19}
20
21describe('Library Schematic', () => {
22 const schematicRunner = new SchematicTestRunner(

Callers 1

index_spec.tsFile · 0.85

Calls 1

readJsonMethod · 0.65

Tested by

no test coverage detected