You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.
git clone [email protected]:istanbuljs/sample-mocha-compilers.git
npm install # with npm v3.8.2, node v4.3.2
npm run test
node ./node_modules/istanbul/lib/cli.js report --dir ./report
open report/lcov-report/index.html
The resultant report is broken:
I've tried a number of things:
turning on inline babel sourceMaps
running the report command with babel-node
adding the --embed-source option to the npm run test command. Did this option get removed for v1?
This additional processing step is important because I'm trying to combine server and client results - not just for an overall number, but also for a combined HTML report. And the babel processing seems to be making it difficult. I'm also looking into updating karma-coverage to output something that istanbul report can understand; sad that they are not immediately compatible!
The text was updated successfully, but these errors were encountered:
I am getting the below error. please anyone help me on this
_mocha:2 basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
SyntaxError: missing ) after argument list
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:607:28)
at Module.replacementCompile (V:\Users\mgafoozj\Downloads\sample-mocha-compilers-master\sample-mocha-compilers-master\node_modules\append-transform\index.js:58:13)
at Module._extensions..js (module.js:654:10)
at Object. (V:\Users\mgafoozj\Downloads\sample-mocha-compilers-master\sample-mocha-compilers-master\node_modules\append-transform\index.js:62:4)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Function.Module.runMain (module.js:684:10)
npm ERR! Test failed. See above for more details.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The resultant report is broken:
I've tried a number of things:
sourceMaps
babel-node
--embed-source
option to thenpm run test
command. Did this option get removed for v1?This additional processing step is important because I'm trying to combine server and client results - not just for an overall number, but also for a combined HTML report. And the babel processing seems to be making it difficult. I'm also looking into updating
karma-coverage
to output something thatistanbul report
can understand; sad that they are not immediately compatible!The text was updated successfully, but these errors were encountered: