image-matcher
Unit Testing
image-matcher allows you to test Canvas and other image. It will provide Jasmine matcher for that. can set a tolerance and perform comparison test.
toMatchImage(expected, {
tolerance = 0, // accepts tolerance in pixels
delta = 0, // the maximum color distance between actual and expected
blurLevel = 0, // test blur level
} = {})
CDN
<script src="https://unpkg.com/image-matcher@0.1"></script>
examples
Supported
jasmine >= 2.0.4