question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Alpha 85 throws console errors in tests that 84 does not

See original GitHub issue

With 85 in my jest tests I get this, with 84 smooth and nice.

      Warning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
      at printWarning (node_modules/react/cjs/react.development.js:207:30)
      at error (node_modules/react/cjs/react.development.js:181:7)
      at Object.forwardRef (node_modules/react/cjs/react.development.js:1473:9)
      at Object.<anonymous> (node_modules/@mui/lab/node/CalendarPicker/CalendarPicker.js:34:43)

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:6
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
httpetecommented, Jun 10, 2022

What’s really bad is - we aren’t even importing or using these calendar components. Something really changed .

On Jun 10, 2022, at 7:52 AM, Ramzy Rashaun Arief @.***> wrote:

We have the exact same here #33080 for LoadingButton so I think there is something to fix

yeah me too

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

2reactions
mnajdovacommented, Jun 13, 2022

Found the problem, one more components need to forward a ref. Creating a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jest: mocking console.error - tests fails - Stack Overflow
prop-types uses console.error to alert when mandatory props are not passed or when props are the wrong data type. I wanted to mock...
Read more >
Bug listing with status RESOLVED with resolution FIXED as at ...
Bug:2 - "How do I attach an ebuild. ... Bug:105 - "man command does not work with zsh" status:RESOLVED resolution:FIXED severity:major ...
Read more >
FANUC Spindle Amplifier Alarm Codes List
Diagnosing a FANUC spindle amplifier alarm code? We're here to help. Check our full list and contact us for repairs or full CNC...
Read more >
Testing Guide - OWASP Foundation
It is a great road map for testing the most common issues facing applications today, but it is not exhaustive. If you find...
Read more >
psych.pdf
test.psych . ... Unfortunately, there is no best answer to the ... 6) More typically, one has a raw data set to analyze....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found