I am trying to integrate jest into my node.js project, initially the tests were written in jasmine I use jest-codemods to convert the jasmine tests into jest !
But, when I run the tests npm test I get these weird errors.
I get this error saying : TypeError: Object.defineProperty called on non-object at Function.defineProperty (<anonymous>)
What does it exactly mean ? I searched a lot on the net, couldn't find any satisfying explanation anywhere!
Plus it's strange why it's showing me an error in the part of the code which has comments!
Aucun commentaire:
Enregistrer un commentaire