Open jstaro opened 8 years ago
+1
I'm having this same issue with typescript transpilation. Tests run fine in Chrome but fail in Phantom.
If I re-write my tests to be vanilla js they are interpreted and run fine
I managed to fix this by including core-js before loading my tests
My config works fine in Chrome, but in PhantomJS, as soon as I try to import an ES6 class in my spec files, karma spits out a not-so-helpful
Attempting to configurable [sic] attribute of unconfigurable property
.I can import ES5 modules just fine in specs.
Not importing anything in my spec files, but rewriting the Jasmine tests using ES6 fat arrow syntax makes PhantomJS balk with a
SyntaxError: Parse error
message.All this makes me believe files are not being transpiled.
karma.conf.js
package versions