lottie-node icon indicating copy to clipboard operation
lottie-node copied to clipboard

Tests

Open friday opened this issue 5 years ago • 0 comments

Tests are always good. Optimally the lottie-node API should be fully covered, but since it's kind of a niche library and I don't even have After Effects myself (I'm running Linux) I'm blocked by #4.

Example of tests that should be possible:

  • Check the hash of an output (this type of test can be prone to false positives, for example if node-canvas makes changes to antialiasing or font kerning)
  • Check the color of a specific pixel of a PNG export.

friday avatar Sep 28 '18 14:09 friday