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.
I came across this issue while debugging an issue with https://github.com/guybedford/systemjs-istanbul/issues/4.
It seems that if you export an IIFE (well export the returned value anyways) the code generated from istanbul is invalid.
example.js
I think it's just missing parenthesis around the exported function.