Avoid do UI testing against react-bmapgl because you will have some bad error to fix, and hard to fix. /2021/08/19/create-react-app-unittest-failed-typeerror-cannot-read-property-parentnode-of-undefined.html