-
Notifications
You must be signed in to change notification settings - Fork 50
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
Uncaught SyntaxError: Unexpected token import #132
Comments
You also need |
I forgot to put my test file "use strict";
import BootstrapFormView from "../src/js/views/BootstrapFormView.js";
describe("BootstrapFormView", function() {
var bootstrapFormView = new BootstrapFormView();
it("can convert error strings to errors", function() {
var errorString = "|This is an error message";
expect(bootstrapFormView.errorStringToErrors(errorString)).toBe("This is an error message");
});
}); I installed |
I'm running into this issue too. Was there any resolution? |
I also have the same issue. Is there no solution out there? |
Sorry guys I can't help much cause I'm using Webpack now. |
I'm also having this issue. Anyone resolve this? |
@AlexisBarta I have also this error under Webpack with Karma :/, do you have to ? or did you have find a trick to fix it ? Thank you |
@AlexisBarta using |
I have the following error :
Uncaught SyntaxError: Unexpected token import at path/test/BootStrapFormView.Test.js:3
Here my Karma configuration file and my package.json
karma.conf.js
package.json
The text was updated successfully, but these errors were encountered: