Testing Images with Jest and JSDOM it requires install canvas to be installed set resources: 'usable' inside jest.config.js