Skip to content

testing

Artem Alagizov edited this page Jan 19, 2020 · 2 revisions

currently, when using particalizor-3000 in your tests you'll need to add jest-canvas-mock to avoid canvas-related warnings:

in your src/setupTests.*

import { configure } from "enzyme";
import Adapter from "enzyme-adapter-react-16";
import "jest-canvas-mock";

configure({ adapter: new Adapter() });

Clone this wiki locally