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
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