-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
include CLI TS types in a way to avoid clashing with Jest #7352
Conversation
Thanks for the contribution! Below are some guidelines Cypress uses when doing PR reviews.
PR Review ChecklistIf any of the following requirements can't be met, leave a comment in the review selecting 'Request changes', otherwise 'Approve'. User Experience
Functionality
Maintainability
Quality
Internal
|
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
merging into temp branch that has a simple test job
@sainthkh I have created a test job to install the built Cypress (merged from your PR) and Jest and check types, and still globals clash, which I am not sure we can resolve to be honest, since both Jest and Mocha want globals |
The cause of the CI failure is the folder structure.
By default, typescript tries to load all The solution to make it pass is to reorganize the folder structure. I tried to fix it on #7359, but for some reason, |
Co-authored-by: Kukhyeon Heo <sainthkh@naver.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, also want to see @sainthkh's thoughts since he has been working in this area a lot nvm, see he already reviewed 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
@bahmutov it looks like this merge has broken typescript in |
User changes
There should be no TypeScript clashes between Cypress and Jest after install
Additional details
tsc