lottie-node
lottie-node copied to clipboard
Tests
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.