Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function onsecondpass () {
var consumerLocs = findexquire.find(sourcemap.SourceMapConsumer);
t.equal(consumerLocs.length, 1, 'finds sourcemap.SourceMapConsumer after second pass')
}
})
function onfirstpass() {
var generateLocs = findexquire.find(escodegen.generate);
var consumerLocs = findexquire.find(sourcemap.SourceMapConsumer);
t.equal(generateLocs.length, 1, 'finds escodegen.generate after first pass')
t.notOk(consumerLocs, 'does not find sourcemap.SourceMapConsumer yet')
}