Debian Codegraph @

nyc/test/fixtures/check-instrumented.js

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