This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is a node script to merge cobertura reports in XML format. | |
* It requires `xml2js` : `npm i -D xml2js` | |
* | |
* Execute with: | |
* ``` | |
* node merge-cobertura.js coverage/file1.xml coverage/file2.xml to=coverage-final.xml | |
* ``` | |
* @see https://github.com/Leonidas-from-XIV/node-xml2js | |
* @author Jérémy Legros |