Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

267
Views
Migración de mui v4 a v5 | TypeError: no se pueden leer las propiedades de undefined (leyendo 'keyboardDate')

Hola, después de actualizar MUI v4 a la versión v5, obtuve pruebas fallidas que se ven así

 TypeError: Cannot read properties of undefined (reading 'keyboardDate') 17 | it("should render correctly without any errors", () => { 18 | expect( > 19 | renderer.create(<DatePickerElement onChange={onChange} value="10/08/1981" />).toJSON(), | ^ 20 | ).toMatchSnapshot(); 21 | }); 22 | // props testing

He hecho, creo, todo de acuerdo con la guía de migración y no puedo pensar en la razón por la cual esta falla, el componente está envuelto con el nuevo <LocalizationProvider dateAdapter={AdapterDateFns} utils={DateFnsUtils}> y funciona bien, solo las pruebas fallan en método de procesamiento ¿alguien encontró un problema similar?

 it("should render correctly without any errors", () => { expect( renderer .create(<DatePickerElement onChange={onChange} value="10/08/1981" />) .toJSON(), ).toMatchSnapshot(); });
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!