Giter Club home page Giter Club logo

Comments (4)

opyate avatar opyate commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.