mui / mui/material-ui

[test] Multiple tests failing with React Canary

Open
#40,637 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

on hold package: joy-ui scope: all components type: bug
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

Running tests with the canary version of React causes multiple of them to fail.

Reproduction steps:

  1. Update package.json to reference React Canary: node ./scripts/useReactVersion next
  2. Install the packages: pnpm i
  3. Run tests: pnpm test:unit

Search keywords:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with package.json and scripts/useReactVersion, then run node ./scripts/useReactVersion next, pnpm i, and pnpm test:unit to identify the failing tests under React Canary. Done means the affected unit tests pass with the Canary version, with the failures and expected behavior understood.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.