Vue testing or React Testing in Unit Tests

I am teaching Vue and React at the same time and is facing difficulty in setting up test cases because Vue/React uses ES6 import while the built-in unit testing (Jest) is using requireJS. Is there anyway to support ES6-style imports in the built-in unit tests?