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

fix: ability to run tests in ".jsx" and ".tsx" files by default #850

Closed
wants to merge 1 commit into from

Conversation

DudaGod
Copy link
Member

@DudaGod DudaGod commented Feb 28, 2024

What is done

User can write regular e2e tests in files with extension .jsx and .tsx. So I add it to option fileExtensions by default. When using components (like <h1>hello</h1>) inside these files, an error SyntaxError: Unexpected token '<' will occur. Will be fixed in next PR.

@DudaGod DudaGod force-pushed the HERMIONE-1419.use_jsx_and_tsx branch from 7562553 to f5f0ed0 Compare February 28, 2024 14:48
@DudaGod
Copy link
Member Author

DudaGod commented Feb 28, 2024

Will be fixed in next PR.

Will be merged in next PR in order to not destroy run if user mask will be matched on jsx or tsx components.

@DudaGod DudaGod closed this Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant