Skip to content

does not play well with jest 27 #918

Description

@TrejGun
  • @testing-library/react version:

"@testing-library/jest-dom": "5.12.0",
"@testing-library/react": "11.2.7",

  • Testing Framework and version:

"jest": "27.0.1",

  • DOM Environment:

jsdom

Relevant code or config:

please refer to this project
https://github.com/TrejGun/casino

What you did:

updated jest from 26 to 27

What happened:

Tests are now failing with

    ReferenceError: clearImmediate is not defined

Reproduction:

see above

Problem description:

Tests are failing :(

Suggested solution:

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions