The file coverage functionality in Intern master, at least when running the self tests, will cause a stack overflow error for Node 10.0.0 - 10.15.3. The problem is that for Node < 10.16.0, both the instrumentation require hook and the instrumentation runInThisContext hook will be called for the same file, causing already instrumented code to be sent to the instrumenter.
The file coverage functionality in Intern master, at least when running the self tests, will cause a stack overflow error for Node 10.0.0 - 10.15.3. The problem is that for Node < 10.16.0, both the instrumentation
require
hook and the instrumentationrunInThisContext
hook will be called for the same file, causing already instrumented code to be sent to the instrumenter.