
Description
What problem does this feature solve?
Since Cypress already ships with official Typescript declarations, it would be nice to support Typescript for the e2e tests via cue-cli.
For the end user experience, I would expect the e2e tests to be .ts files by default when creating a vue-cli project with Typescript support and Cypress e2e testing.
What does the proposed API look like?
On the background, I would expect two things when creating a vue-cli project with Typescript support and Cypress e2e testing:
-
It should create the tests as .ts files and automatically configure Typescript for the e2e folder as described in: https://docs.cypress.io/guides/tooling/typescript-support.html
-
When starting the tests via vue-cli-service test:e2e it should watch and transpile the .ts test files similar to: https://github.com/cypress-io/cypress-example-recipes/tree/master/examples/preprocessors__typescript-webpack