developit / developit/jsdom-worker

ReferenceError: cov_2a33nrkdo3 is not defined

Open
#26 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
291
Forks
20
PR merge metrics
No merged PRs in 30d

Description

```
console.error
ReferenceError: cov_2a33nrkdo3 is not defined
at parseArgs (eval at (/Users/leonardorick/Documents/git/others/utils/javascript/node_modules/jsdom-worker/src/index.js:130:6), :9:3)
at Object.eval (eval at (/Users/leonardorick/Documents/git/others/utils/javascript/node_modules/jsdom-worker/src/index.js:130:6), :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](https://github.com/LeonardoRick/utils/blob/main/javascript/src/run-on-worker.js) 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.