Skip to content

Remove deprecated cy.stub signature #31346

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

Open
jennifer-shehane opened this issue Mar 20, 2025 · 0 comments · Fixed by #31548
Open

Remove deprecated cy.stub signature #31346

jennifer-shehane opened this issue Mar 20, 2025 · 0 comments · Fixed by #31548
Assignees
Labels
Cypress 15 type: breaking change Requires a new major release version

Comments

@jennifer-shehane
Copy link
Member

jennifer-shehane commented Mar 20, 2025

What would you like?

Remove the deprecated cy.stub(object, method, fn) signature from cy.stub. This was removed in Sinon 3: https://sinonjs.org/guides/migration-guide#sinon-3

Why is this needed?

This is not supported in later sinon versions. It's also not documented in our public docs.

Other

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cypress 15 type: breaking change Requires a new major release version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant