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

All tests using jsdom fail with node >= 21 #1980

Open
Fil opened this issue Jan 31, 2024 · 0 comments
Open

All tests using jsdom fail with node >= 21 #1980

Fil opened this issue Jan 31, 2024 · 0 comments
Assignees

Comments

@Fil
Copy link
Contributor

Fil commented Jan 31, 2024

❯ nvm use 20
Now using node v20.3.0 (npm v9.6.7)
... tests OK...

❯ nvm use 21
Now using node v21.6.0 (npm v10.2.4)
❯ yarn && yarn test
...
  871) plot youngAdults:
     TypeError: Cannot set property navigator of #<Object> which has only a getter
      at Context.<anonymous> (file:///Users/fil/Sites/plot/test/jsdom.js:22:22)
      at process.processImmediate (node:internal/timers:478:21)
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

1 participant