Skip to content

ota-meshi/image-matcher

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •