Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaffolds TS file for TSX project #24495

Closed
lmiller1990 opened this issue Nov 2, 2022 · 0 comments · Fixed by #25318
Closed

Scaffolds TS file for TSX project #24495

lmiller1990 opened this issue Nov 2, 2022 · 0 comments · Fixed by #25318
Assignees
Labels
CT Issue related to component testing

Comments

@lmiller1990
Copy link
Contributor

Current behavior

I followed the quickstart https://cypress-documentation-git-react-ct-guide-rework-cypress-io.vercel.app/guides/component-testing/react/quickstart#Install-Cypress

I made a new test with the "create new test" button. It made cypress/component/ComponentName.cy.ts. That's not very useful for React, I need a TSX file. I had to rename it manually.

Desired behavior

Give me a TSX file if I am using React.

Test code to reproduce

Follow this and do what it says
https://cypress-documentation-git-react-ct-guide-rework-cypress-io.vercel.app/guides/component-testing/react/quickstart#Install-Cypress

Cypress Version

10.11

Node version

All of them

Operating System

Any

Debug Logs

NA

Other

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CT Issue related to component testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants