Imagine this code:
const myFunc = () => exec('node foo.js') Now my library executes myFunc, but it doesn't know if it executes another script. How to make it know it?
P.S. The lib, which is a test runner + coverage tool, needs to know every piece of code that was run by the test.