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 ?
댓글 없음:
댓글 쓰기