NODE_V8_COVERAGE broken on OSX (perhaps other platforms) #25287
Closed
Description
#25127 seems to break coverage on OSX:
NODE_V8_COVERAGE=.coverage ./node ./test/parallel/test-v8-coverage.js
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be one of type string, Buffer, or URL. Received type undefined
at mkdirSync (fs.js:766:3)
at process.writeCoverage (internal/process/coverage.js:16:5)
at process.emit (events.js:193:15)
My guess is that coverage might be initialized either before the inspector is running, or before the process.env
object has been populated.
Not sure why this wouldn't have been caught in the linux test suite.
I believe this is the root cause of nodejs/node-v8#97
CC: @nodejs/build
Metadata
Assignees
Labels
No labels