jeudi 22 octobre 2020

Showing error in text matching test in enzyme

I have a simple test written in enzyme where I am matching a text if is equal to a desired output. Although the text I am getting from the props and the text I am comparing to is same it is failing in the console while I run the test using yarn test. I can not figure out the cause, seems no issue form my side. here is the screenshot from the VS code:

enter image description here

Aucun commentaire:

Enregistrer un commentaire