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

Function readJsonFile

packages/schematics/angular/application/index_spec.ts:16–18  ·  view source on GitHub ↗
(tree: UnitTestTree, path: string)

Source from the content-addressed store, hash-verified

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

Callers 1

index_spec.tsFile · 0.70

Calls 3

parseJsonFunction · 0.85
toStringMethod · 0.80
readContentMethod · 0.80

Tested by

no test coverage detected