@canvest/canvest-core

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i @canvest/canvest-core

Weekly Downloads

2

Version

1.1.0

License

AFL-3.0

Unpacked Size

16.4 kB

Total Files

4

Last publish

Collaborators

  • tyrealgray