Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
In the source-map branch, file "lib/source-map-transformer.js" line 262, console.error is outputting to the console when the source javascript files have ES6 default export syntax* and/or no unit test associated. Could we remove this error message since we are using text-summary in the console for coverage information and it takes too much spaces for these warnings?
Also do you have a plan to merge the source-map branch into master? Thank you!
*Details on the ES6 default export syntax causing the error messages:
export default {...} will have the error while if we change it to
const temp = {...}; export default temp is fine.
In the source-map branch, file "lib/source-map-transformer.js" line 262,
console.error
is outputting to the console when the source javascript files have ES6 default export syntax* and/or no unit test associated. Could we remove this error message since we are usingtext-summary
in the console for coverage information and it takes too much spaces for these warnings?Also do you have a plan to merge the source-map branch into master? Thank you!
*Details on the ES6 default export syntax causing the error messages:
export default {...}
will have the error while if we change it toconst temp = {...}; export default temp
is fine.