Hi, I'm trying to setup Protractor to run Mocha tests using ES6. To achieve
this I'm using mocha-traceur as a compiler that will transpile the tests on
the fly before running them.
If I use npm to run "mocha --compilers js:mocha-traceur" the tests run fine
but once I try to configure protractor to use the same compilers argument
if fails.
My protractor-conf.js is something like this
{
specs: ['src/**/*.js' ],
framework: 'mocha',
mochaOptions:{
reporter:'spec',
compilers: 'js:mocha-traceur path/to/tests/'
}
}
I've also tried running
{
specs: ['src/**/*.js' ],
framework: 'mocha',
mochaOptions:{
reporter:'spec',
compilers: 'js:mocha-traceur'
}
}
since specs are already defined but no luck.
So my question is, is there any way to run any ES6 tests with protractor,
whenever it's jasmine/mocha/cucumber ?
Thanks
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.