I\'m trying to write tests about a React class component that mounts a PieChart via the AmChart library (v4). I managed to configure babel so the tests are actually running. So