feat: replace canvas with jest-canvas-mock (#335)

This commit is contained in:
Kristin Aoki
2023-05-24 09:56:39 -04:00
committed by GitHub
parent e0c0c918d0
commit d80b6faaad
4 changed files with 161 additions and 751 deletions

View File

@@ -3,6 +3,7 @@
import Enzyme from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import 'babel-polyfill';
import 'jest-canvas-mock';
Enzyme.configure({ adapter: new Adapter() });