@canvest/canvest-core
v1.1.0
Published
A unit testing framework for HTML5 canvas
Downloads
32
Readme
Canvest
Writing a unit test for your HTML5 Canvas component without mocking any DOM element
Using browser to render and execute your component's unit test logic directly, outputting image snapshot to compare in pixel-level
Support TypeScript and zero config needed in most cases for JavaScript project, using API like it
and describe
with a few unique API for canvas snapshot
Install
Run npm cmd to install on your project
$ npm i @canvest/canvest-core --save-dev
Check https://github.com/TyrealGray/Canvest for more information
License
AFL-3.0