If I insert hookLoader after require('babel/register') it doesn't work (logs errors), although babel produces valid JavaScript code.
If I insert hookLoader before require('babel/register') it seemingly works (no errors), although in some cases (but not in all - only 2 apps out of 7 in my case) no coverage is collected - the web page shows: No coverage information has been collected.
I will try to investigate what exactly is causing the issue.
If I insert
hookLoader
afterrequire('babel/register')
it doesn't work (logs errors), although babel produces valid JavaScript code. If I inserthookLoader
beforerequire('babel/register')
it seemingly works (no errors), although in some cases (but not in all - only 2 apps out of 7 in my case) no coverage is collected - the web page shows:No coverage information has been collected
. I will try to investigate what exactly is causing the issue.