Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: cov_2a33nrkdo3 is not defined #26

Open
LeonardoRick opened this issue Jan 27, 2024 · 1 comment
Open

ReferenceError: cov_2a33nrkdo3 is not defined #26

LeonardoRick opened this issue Jan 27, 2024 · 1 comment

Comments

@LeonardoRick
Copy link

 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

@cywcd
Copy link

cywcd commented Jul 1, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants