gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
687 stars 62 forks source link

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

Closed DudaGod closed 6 months ago

DudaGod commented 6 months ago

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 commented 6 months ago

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.