Comments (4)
Here's one more DeprecationWarning stack, in case it sheds more light.
- jest-environment-jsdom: ^29.7.0
- jsdom: 20.0.3
- tought-cookie: 4.1.4
- psl: 1.9.0
> NODE_OPTIONS='--trace-deprecation' jest src/server/views/__tests__/login.njk.test.ts
(node:479351) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
at node:punycode:3:9
at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:397:7)
at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:333:10)
at loadBuiltinModule (node:internal/modules/helpers:101:7)
at Function.Module._load (node:internal/modules/cjs/loader:1006:17)
at Module.require (node:internal/modules/cjs/loader:1237:19)
at require (node:internal/modules/helpers:176:18)
at Runtime._requireCoreModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:1543:12)
at Runtime.requireModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:840:19)
at Runtime.requireModuleOrMock (/path-to-my-app/node_modules/jest-runtime/build/index.js:1048:21)
at Object.<anonymous> (/path-to-my-app/node_modules/psl/index.js:5:16)
at Runtime._execModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:1439:24)
at Runtime._loadModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:1022:12)
at Runtime.requireModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:882:12)
at Runtime.requireModuleOrMock (/path-to-my-app/node_modules/jest-runtime/build/index.js:1048:21)
at Object.<anonymous> (/path-to-my-app/node_modules/tough-cookie/lib/pubsuffix-psl.js:32:13)
at Runtime._execModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:1439:24)
at Runtime._loadModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:1022:12)
at Runtime.requireModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:882:12)
at Runtime.requireModuleOrMock (/path-to-my-app/node_modules/jest-runtime/build/index.js:1048:21)
at Object.<anonymous> (/path-to-my-app/node_modules/tough-cookie/lib/cookie.js:34:19)
at Runtime._execModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:1439:24)
at Runtime._loadModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:1022:12)
at Runtime.requireModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:882:12)
at Runtime.requireModuleOrMock (/path-to-my-app/node_modules/jest-runtime/build/index.js:1048:21)
at Object.<anonymous> (/path-to-my-app/node_modules/jsdom/lib/api.js:5:21)
at Runtime._execModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:1439:24)
at Runtime._loadModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:1022:12)
at Runtime.requireModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:882:12)
at Runtime.requireModuleOrMock (/path-to-my-app/node_modules/jest-runtime/build/index.js:1048:21)
at Object.<anonymous> (/path-to-my-app/src/server/views/__tests__/login.njk.test.ts:18:17)
at Runtime._execModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:1439:24)
at Runtime._loadModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:1022:12)
at Runtime.requireModule (/path-to-my-app/node_modules/jest-runtime/build/index.js:882:12)
at jestAdapter (/path-to-my-app/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at runTestInternal (/path-to-my-app/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/path-to-my-app/node_modules/jest-runner/build/runTest.js:444:34)
from jest.
Related Issues (20)
- [Bug]: Jest rewrites snapshots without changes if obsolete entries exist, even if the `--updateSnapshot` flag is not passed. HOT 1
- [Docs]: Documentation suggests the vite-jest library for vite compatibility, but vite-jest is obsolete and appears unmaintained. HOT 4
- [Bug]: Cannot mock new Date in async tests.
- [Bug]: Path in bin/jest.js file crash when there's a single "Single quote" in the path HOT 3
- [Feature]: Add config option "worker(Max)Retries" instead of hardcoded maxRetries: 3 in jest-runner đ HOT 2
- can someone help me with Cannot use import statement outside a module please (âŦâŦīšâŦâŦ) HOT 3
- [Bug]: transform esm module in jest-runtime
- No tests found on Windows if any folder in path starts with special character HOT 3
- [Bug]: Unable to run multiple tests through -t argument HOT 4
- [Bug]: `constructorA.mock.instances` not correct when using `jest.fn().mockImplementation(() => ({ ... }))` HOT 2
- Jest needs disclaimers. HOT 1
- Document release process
- [Bug]: Jest fails to serialize custom elements with anonymous constructors
- [Bug]: Critical security finding in jest-reporters HOT 2
- [Bug]: Incorrect Error Stacktrace when using Object.freeze(Object.prototype) HOT 1
- [Bug]: when adding "disctributed" to a testfile name it no longer runs
- [Bug]: global object is not usable in globalTearDown file
- Top-level 'await' expressions not working even if tried a lot of solutions found in StackOverflow HOT 1
- [Docs]: `react-test-renderer` deprecated HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jest.