-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PhantomJS: SyntaxError: Use of reserved word 'import' #134
Comments
I've also run into issues with importing using |
I also could not make it work with karma-babel-preprocessor and switched back to webpack as preprocessor. When you do so, make sure you don't send files to your entry in webpack when running the tests, as the files will be set in your karma.conf |
Closing as webpack should be used as your preprocessor if you want to import. Feel free to comment with otherwise and I can reopen if necessary |
Okeey, thanks for the tips all. 👍 :) |
Having trouble setting up Karma. Help would be much appreciated.
It seems that the preprocessors are not working in my setup.
karma.config.js
webpack.config.js
test-context.js
package.json
And when running
it gives me this –The struggle is real.... 🔨
I want to be able to run the tests with ES6. Any ideas how to fix this?
The text was updated successfully, but these errors were encountered: