MCPcopy Index your code
hub / github.com/angular-fullstack/generator-angular-fullstack / readJSON

Function readJSON

src/test/test-helpers.js:78–82  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

76 * @returns {Promise} - parsed JSON
77 */
78export function readJSON(path) {
79 return fs.readFileAsync(path, 'utf8').then(data => {
80 return JSON.parse(data);
81 });
82}
83
84/**
85 * Run angular-fullstack:app

Callers 2

main.test.jsFile · 0.90
endpoint.test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected