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
chore: cleanup dead code #21340
chore: cleanup dead code #21340
Conversation
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ Flakiness
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 |
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.
lovely lovely lovely
@@ -35,7 +35,7 @@ export class HtmlDataSource { | |||
) | |||
} catch (e) { | |||
err = e | |||
await this.ctx.util.delayMs(1000) | |||
await new Promise((resolve) => setTimeout(resolve, 1000)) |
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.
might be worth just using Bluebird.timeout
here and elsewhere in this PR... so when we strip Bluebird
out these timeouts are more easily discovered and replaced with a shared helper. Blue and I recently discussed this here: #21328 (comment)
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.
I don't think we use Bluebird at all in the data-context
package currently
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.
🤷♂️
User facing changelog
N/A
Additional details
Removing some dead code that I came across while working on other tickets
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?cypress.schema.json
?