Hi,
I’m running meteor test --driver-package practicalmeteor:mocha --port 4000
.
I have a test-file, say some.tests.js
that successfully uses lots of import statements, and executes perfectly in mocha.
But, if I do import someFunction from 'someFile.js'
inside some.tests.js
where someFile.js
also uses import statements, then I get unexpected token import.
What’s going on?
Thanks