blob: 417b448bfd3fa25bb10fdbfa0a16d986db98f346 [file] [log] [blame]
const { a } = require('./lib/a')
try {
a()
throw new Error('a() should throw for this test')
} catch (e) {
if (e.stack.indexOf('.runfiles/') !== -1) {
throw new Error(
'stacks.cjs should have stripped runfiles directories from the stack trace'
)
}
}