We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to run unit tests on Node current version (21.5.0) brings warnings and errors :
navigator.userAgent
if (!global.navigator) { global.navigator = { userAgent: 'firefox' } }
(node:29868) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
npm install
npm run test-unit
The first point is fixed in #2255.
The text was updated successfully, but these errors were encountered:
Can confirm that this issue starts with node >= 21.0.0, latest LTS (20.x.x) is not impacted.
node >= 21.0.0
20.x.x
Sorry, something went wrong.
mgermerie
Desplandis
No branches or pull requests
Your Environment
Context
Trying to run unit tests on Node current version (21.5.0) brings warnings and errors :
navigator.userAgent
property which has been made read-only in node 21.1.0 (see this commit. This can be easily fixed with a test :(node:29868) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
Steps to Reproduce (for bugs)
npm install
npm run test-unit
Possible Cause/Fix/Solution
The first point is fixed in #2255.
The text was updated successfully, but these errors were encountered: