-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
E2EIssue related to end-to-end testingIssue related to end-to-end testingtype: featureNew feature that does not currently existNew feature that does not currently exist
Description
This is an enhancement request.
What would you like?
If Cypress determines that a new project can be scaffolded using TypeScript, it should allow the user to choose between setting up a JavaScript project and setting up a Typescript project.
Why is this needed?
If the npm module typescript is installed, then Cypress automatically scaffolds a new E2E project using TypeScript without asking the user if they would like JavaScript or TypeScript. This is not necessarily what the user would want.
Steps to reproduce
mkdir cy-ts-test
cd cy-ts-test
git init
npm init -y
npm install typescript -D -E
npm install cypress -D -E
npx cypress open --e2e --browser electron
Note the Configuration files screen showing TypeScript files automatically being configured with no choice being given.
Related issues
nagash77, Morta1, Juno-T, scifisamurai, pepperonipizzacat and 2 more
Metadata
Metadata
Assignees
Labels
E2EIssue related to end-to-end testingIssue related to end-to-end testingtype: featureNew feature that does not currently existNew feature that does not currently exist