5

What is the proper way to run CucumberJS BDD test written in Typescript and ES6.

I want to first transpile typescript code to es6 then use babel to make it es5.

enter image description here

I can run it from npm test like node_modules/.bin/babel-node node_modules/.bin/cucumber.js ./test/features but how to add both typescript and babel? and is there any good test runner for backend like Karma which can be easily integrated with Webpack?

Foysal Osmany
  • 1,471
  • 14
  • 17

0 Answers0