I am using a Nodejs backend with server-side rendering using handlebars.
After reading a doc
array of objects from handlebars, which contains key \"content\" an
I am using Angular version 8.0.2
and Node version 10.16.3
While running test cases was facing below issue:
Handlebars: Access has been denied to resolve the property "statements" because it is not an "own property" of its parent.
Handlebars: Access has been denied to resolve the property "functions" because it is not an "own property" of its parent.
While debugging the issue further found that in package.json, "karma-coverage-istanbul-reporter": "2.0.1"
is there but "istanbul-lib-report"
was missing so did following steps:
And it solved my issue :) (Hope this helps someone)