check-instrumented.js 213 B

12345678
  1. function probe () {}
  2. // When instrumented there will be references to variables like
  3. // __cov_pwkoI2PYHp3LJXkn_erl1Q in the probe() source.
  4. module.exports = function () {
  5. return /\b__cov_\B/.test(probe + '')
  6. }