Got this error in Travis CI while installing dependencies and testing my front app.
Do you know how to fix it ?
Thanks a lot for your help !
Version: "react-beautiful-dnd": "^13.0.0"

Looks like a solution: https://github.com/ReactTraining/react-router/pull/6607/files
I fixed the issue adding global.Element = function(){}; at the begginning of my index.test.js file.
I think you should test in your code if Element is undefined to avoid this error.
I keep this issue open.
Most helpful comment
I fixed the issue adding
global.Element = function(){};at the begginning of myindex.test.jsfile.I think you should test in your code if
Elementis undefined to avoid this error.I keep this issue open.