Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

88
Vistas
Testing Moment in React Enzyme Jest

I am Using React, Formick and material UI

The UI functionality is working fine, I need to write test case for Formik handle Submit. so I wrote the formk test case as usual, but not what is happening is i am using picker and i am getting date in Friday, February 5, 2016 at 9:00:00 pm UTC to convert i am using Moment and i am able to verify it in UI and is working fine but as soon as i try to test the same it says moment is not a function. what i am doing wrong? I want to use moment only for conversion as it is being used in my application need a way to test it in jest ezyme

https://codesandbox.io/s/competent-thompson-s075hi?file=/src/app.test.js

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda