Skip to content

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

@Fil

Description

@Fil
❯ 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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions