0.3.0 • Published 2 years ago

image-matcher v0.3.0

Weekly downloads
9
License
MIT
Repository
github
Last release
2 years ago

image-matcher

npm npm npm npm npm Build Status
NPM Greenkeeper badge

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

0.3.0

2 years ago

0.2.0

2 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago