← All tasks
javascripttesting-library/react-testing-library #918Not a task: not reproduced

does not play well with jest 27

envgap__testing-library__react-testing-library-918

01 / FAILURE SIGNATURE

As reported upstream

ReferenceError: clearImmediate is not defined
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
42dad789af193cdb11701db3fdb970f8ec0ffc83
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

testing-library/react-testing-library #918 · read the original issue
<!--



* Please fill out this template with all the relevant information so we can

  understand what's going on and fix the issue. We appreciate bugs filed and PRs

  submitted!



* If your issue is regarding one of the query APIs (`getByText`,

  `getByLabelText`, etc), then please file it on the `dom-testing-library`

  repository instead. If you file it here it will be closed. Thanks :)



* Please make sure that you are familiar with and follow the Code of Conduct for

  this project (found in the CODE_OF_CONDUCT.md file).



We'll probably ask you to submit the fix (after giving some direction). If

you've never done that before, that's great! Check this free short video

tutorial to learn how: http://kcd.im/pull-request



-->



- `@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",



  <!-- are you using jest, mocha, puppeteer, ava? And what version? -->

- DOM Environment:



jsdom



  <!-- If you're using jsdom (the default with jest), what version? Otherwise, what browser and version are you running tests in? -->



<!--

Keep in mind that if you're using a version of node we don't support that

could also be an issue. Check our package.json file "engines" config for the

supported version.



Also keep in mind that if you're using a version of react we don't support

that could be an issue. Check our package.json file "peerDependencies" config

for the supported version.

-->



### Relevant code or config:



please refer to this project

https://github.com/TrejGun/casino



<!--

If this is an issue with documentation, please file an issue on the docs repo:

https://github.com/testing-library/testing-library-docs

-->



### What you did:



updated jest from 26 to 27



<!-- What you were doing -->



### What happened:



Tests are now failing with 

```

    ReferenceError: clearImmediate is not defined

```



<!-- Please provide the full error message/screenshots/anything -->



### Reproduction:



see above



<!--

If possible, please create a repository that reproduces the issue with the

minimal amount of code possible.



Template repo: https://github.com/testing-library/dom-testing-library-template



Or if you can, try to reproduce the issue in a Codesandbox. You can fork the one

here: https://codesandbox.io/s/5z6x4r7n0p

-->



### Problem description:



Tests are failing :(



<!-- Please describe why the current behavior is a problem -->



### Suggested solution:



N/A



<!--

It's ok if you don't have a suggested solution, but it really helps if you could

do a little digging to come up with some suggestion of how to improve things.

-->

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]