jsdom-worker
jsdom-worker copied to clipboard
ReferenceError: cov_2a33nrkdo3 is not defined
console.error
ReferenceError: cov_2a33nrkdo3 is not defined
at parseArgs (eval at <anonymous> (/Users/leonardorick/Documents/git/others/utils/javascript/node_modules/jsdom-worker/src/index.js:130:6), <anonymous>:9:3)
at Object.eval (eval at <anonymous> (/Users/leonardorick/Documents/git/others/utils/javascript/node_modules/jsdom-worker/src/index.js:130:6), <anonymous>:6:23)
at /Users/leonardorick/Documents/git/others/utils/javascript/node_modules/jsdom-worker/src/index.js:139:2
to reproduce you can go to my repo and run the tests as
npm run test -- --coverage
The error only appear when I try to run the tests with coverage enabled and it looks really like an internal thing breaking that I couldn't understand the relation with the coverage flag
console.error
ReferenceError: cov_hu7jftp2e is not defined
at eval (eval at <anonymous> (E:\fork-project\code\fe-ap-utils\node_modules\jsdom-worker\dist\jsdom-worker.js:1:2403), <anonymous>:6:5)
at Object.eval (eval at <anonymous> (E:\fork-project\code\fe-ap-utils\node_modules\jsdom-worker\dist\jsdom-worker.js:1:2403), <anonymous>:64:5
I also encountered the same problem, there are solutions?