I\'m trying to mount a component for testing with enzyme, and get this error.
just put the following in top of your test file
/** * @jest-environment jsdom */