DevExpress / testcafe

A Node.js tool to automate end-to-end web testing.
https://testcafe.io
MIT License
9.82k stars 671 forks source link

Testcafe should default to using the package.json/global tsc if it exists #8031

Closed DanKaplanSES closed 5 months ago

DanKaplanSES commented 1 year ago

What is your Scenario?

I've been asked to break up the trade-offs listed in https://github.com/DevExpress/testcafe/issues/7978#issuecomment-1746616339 into separate issues so they can be discussed individually.

What are you suggesting?

TestCafe v2.0 and up includes a TypeScript 4 compiler. TestCafe v1.X includes a TypeScript 3 compiler.

This means the ts compiler you use for your production code might be different from the one in your testcafe tests. This has the potential to cause strange bugs that are difficult to track down; tsc may compile your project fine, but TestCafe reports issues, or vice versa. It limits certain ts features to specific parts of your code base.

What alternatives have you considered?

No response

Additional context

No response

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.

github-actions[bot] commented 5 months ago

We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.