iTowns / itowns

A Three.js-based framework written in Javascript/WebGL for visualizing 3D geospatial data
http://www.itowns-project.org
Other
1.07k stars 290 forks source link

[BUG] Unit tests issues with node latest published version (21.5.0) #2254

Open mgermerie opened 6 months ago

mgermerie commented 6 months ago

Your Environment

Context

Trying to run unit tests on Node current version (21.5.0) brings warnings and errors :

Steps to Reproduce (for bugs)

  1. Download and use node 21.1.0
  2. run npm install
  3. run npm run test-unit
  4. You can see the deprecation message after applying the fix in #

Possible Cause/Fix/Solution

The first point is fixed in #2255.

Desplandis commented 6 months ago

Can confirm that this issue starts with node >= 21.0.0, latest LTS (20.x.x) is not impacted.