cybrown / cobertura-xml-remapper

Remap browserified files to single javascript files in cobertura xml reports
Apache License 2.0
0 stars 0 forks source link

Usage in README? #1

Open kheremos opened 8 years ago

kheremos commented 8 years ago

I can't seem to find any usage for this. These are the two places I check first: https://github.com/cybrown/cobertura-xml-remapper https://www.npmjs.com/package/cobertura-xml-remapper

Is this a sub-module of another module that I should be starting with?

cybrown commented 8 years ago

Just require the package (it will return a function) and give it the following options:

It's been a while I didn't use this package and I do not guarantee it will work, I'll update the readme later this week when I can use it again.

Moreover, it was just a quick hack to have a decent coverage report without sourcemap support, I hope that kind of tools exists nowadays.