I'm doing browser unit testing via Intern. Because we like to write in the CommonJS format, I'm browserifying the code into a module that can then be loaded by the Dojo AMD loader. However, the code coverage reports are also reporting on the bundled code.
One option I've seen for this is to preinstrument the code, and tell istanbul to ignore certain require statement. After trying that, it appears that Intern is still instrumenting the code again.
Can I tell intern to NOT instrument the code, if I've done that before hand, but still collect the coverage data somehow? Or is there another option possible?