You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce
using create react app and jest
issue
I'cant coverage testing onPaste props in jest
screenshoot
this is my scenario
question
how to coverage onPaste function?
if i try that scenarion, the result is empty (just like the default onPaste)
it should be 123 _ _ _
because i remove non numeric value before setState
I already tried to console.log inside my function, but not called
The text was updated successfully, but these errors were encountered:
Steps to reproduce
using create react app and jest
issue
I'cant coverage testing onPaste props in jest
screenshoot
this is my scenario
question
how to coverage onPaste function?
if i try that scenarion, the result is empty (just like the default onPaste)
it should be 123 _ _ _
because i remove non numeric value before setState
I already tried to console.log inside my function, but not called
The text was updated successfully, but these errors were encountered: