to resemble

Asserts that two images resemble each other.

return expect('testdata/People.jpg', 'to resemble', 'testdata/People2.jpg');
expected
to resemble
 
{
  
isSameDimensions: true,
  
dimensionDifference: { width: 0, height: 0 },
  
mismatchPercentage: 
8.66 
//
 
should be less than 1
}