See the demo app by doing npm run test:2
https://github.com/adamchenwei/jest-playground.git
You will see the App.js
is 100% covered, and it only really has a snapshot.
Are there ways we can tell Jest to ignore snapshot as coverage evidence? Or its what expected?
I haven't been able to find any answers online or even questions been asked, I suspect its either I am asking the wrong question or people consider 100% coverage snapshot as normal, while I feel its render coverage report meaningless in a sense that it only test the template matching from the previous component.