Giter Site home page Giter Site logo

Got the error >>TypeError: this[(intermediate value)(intermediate value)(intermediate value)] is not a function about jest-playwright HOT 3 CLOSED

voravuthbo avatar voravuthbo commented on June 18, 2024 1
Got the error >>TypeError: this[(intermediate value)(intermediate value)(intermediate value)] is not a function

from jest-playwright.

Comments (3)

Kessir avatar Kessir commented on June 18, 2024 3

Explicitely setting "jest": "^27.5.1", "jest-runner": "^27.5.1", "jest-environment-node": "27.5.1" in your package.json should solve this issue for now. At least until this PR is merged #794.

I got the hint from another issue: #793 (comment)

from jest-playwright.

voravuthbo avatar voravuthbo commented on June 18, 2024

After updated jest version to 28.0.2 the error has changed to

TypeError: Cannot read properties of undefined (reading 'serial')
    at PlaywrightRunner.runTests (/Users/voravuth.b/PycharmProjects/qa-playwright-nest/node_modules/jest-playwright-preset/lib/PlaywrightRunner.js:127:28)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async TestScheduler.scheduleTests (/Users/voravuth.b/PycharmProjects/qa-playwright-nest/node_modules/@jest/core/build/TestScheduler.js:317:13)
    at async runJest (/Users/voravuth.b/PycharmProjects/qa-playwright-nest/node_modules/@jest/core/build/runJest.js:407:19)
    at async _run10000 (/Users/voravuth.b/PycharmProjects/qa-playwright-nest/node_modules/@jest/core/build/cli/index.js:338:7)
    at async runCLI (/Users/voravuth.b/PycharmProjects/qa-playwright-nest/node_modules/@jest/core/build/cli/index.js:190:3)
    at async Object.run (/Users/voravuth.b/PycharmProjects/qa-playwright-nest/node_modules/jest-cli/build/cli/index.js:155:37)

It seems serial is unable to use in new jest / playwright version ?

from jest-playwright.

voravuthbo avatar voravuthbo commented on June 18, 2024

@Kessir It back to work now. Thank you, you made my day.

from jest-playwright.

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.