Components failing tests when mismatch percent is near zero.
See original GitHub issueOur mismatchThreshold is set as follows: "misMatchThreshold": 5,
however when the tests run certain tests fail and say "isSameDimensions": false,
.
Here’s an example of some screenshots where the tests should pass but don’t seem to.
Here’s the output result from the report:
Report: {
"isSameDimensions": false,
"dimensionDifference": {
"width": 0,
"height": -1
},
"misMatchPercentage": "0.48"
}
Threshold: 1
This happens on around 8-10 tests, intermittently. Are we missing something, or is there a way to turn off the isSameDimensions
property? Is this expected?
Thanks in advance for your advice.
Issue Analytics
- State:
- Created 7 years ago
- Comments:22 (15 by maintainers)
Top Results From Across the Web
Snapshots on Apple Silicon devices #424 - GitHub
It seems that Apple Silicon machines generate snapshots that are slightly different from the ones generated on x86 machines.
Read more >Jest finds tests but doesn't collect coverage - Stack Overflow
Jest is being able to find all the tests but it fails to collect coverage: PASS src/components/Home/Home.test.tsx PASS src/components ...
Read more >The Model Performance Mismatch Problem (and what to do ...
The procedure when evaluating machine learning models is to fit and evaluate them on training data, then verify that the model has good...
Read more >Machine Learning: Target Feature Label Imbalance Problems ...
The goal of this post is to teach python programmers why they must have balanced data for model training and how to balance...
Read more >V/Q Mismatch: Causes, Treatment Options, and More
This occurs when there's adequate blood flow or perfusion, but not enough ventilation. A shunt can be: absolute, with zero ventilation; relative, with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome! Please update the issue when you have made the PR.
Thank you 😃
I’ll try to PR my stuff from #306 soon, then you can at least see in the output that it fails because of different dimensions and not because of missmatch errors.