account for cases where there is no parent in the request
This commit is contained in:
@ -10,6 +10,7 @@ tap.test('should inject a file using fileArray', async () => {
|
||||
path: path.join(__dirname, 'hi.js'),
|
||||
contents: new Buffer(
|
||||
`require('./hi2.js')
|
||||
require('through2')
|
||||
console.log('this console comment was injected')
|
||||
`)
|
||||
}
|
||||
|
Reference in New Issue
Block a user