Skip to content
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

Update "Replace a method with a function" #5592

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eostrom
Copy link

@eostrom eostrom commented Dec 27, 2023

The replacerFn parameter is deprecated, with a recommendation to use callsFake instead, but looking for callsFake in the docs turns up no information.

I wasn't sure how much to say about callsFake. It's not part of the Cypress syntax, and this page doesn't attempt to document every aspect of the underlying Sinon.js stub. I figured an updated example and the existing link to Sinon.js documentation was enough, but I'm happy to revise if needed.

The `replacerFn` parameter is deprecated, with a recommendation to use `callsFake` instead.
Copy link

netlify bot commented Dec 27, 2023

👷 Deploy request for cypress-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit fbbf0aa

Copy link

netlify bot commented Dec 27, 2023

Deploy Preview for benevolent-cat-040f48 ready!

Name Link
🔨 Latest commit fbbf0aa
🔍 Latest deploy log https://app.netlify.com/sites/benevolent-cat-040f48/deploys/658cb87f16733800074ac868
😎 Deploy Preview https://deploy-preview-5592--benevolent-cat-040f48.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@CLAassistant
Copy link

CLAassistant commented Dec 27, 2023

CLA assistant check
All committers have signed the CLA.

@cypress-app-bot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants