Merge multiple NYC coverage files into one
Problem
Solution
npm install istanbul-mergejson_files=$(find . ~+ -name "*.json" -print)istanbul-merge --out coverage.raw.json "$json_files"./node_modules/.bin/slnodejs nycReport --tokenfile /path/to/sltoken.txt --buildsessionidfile buildSessionId --report/path/to/coverage.raw.jsonLast updated
Was this helpful?

