observablehq / observablehq/plot
All tests using jsdom fail with node >= 21
Open
@Fil is already working on this.
Since Jan 31, 2024.
- Dominant language
- HTML
- Stars
- 5.4k
- Forks
- 244
- PR merge metrics
- No merged PRs in 30d
Description
❯ 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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.