Enable Automated Testing for apps that use [paper.js
paper.js tries to touch the canvas just by requiring it, so the default test runner in create-react-app cannot test it :
Test suite failed to run
Canvas [object HTMLCanvasElement] is unable to provide a 2D context.
> 1 | let paper = require("paper");
So I changed it to jest-electron.
from pRegroup-done-2020
This page is auto-translated from /nishio/paperγδ½Ώγγ’γγͺγθͺεγγΉγγ§γγγγγ«γγ using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iβm very happy to spread my thought to non-Japanese readers.