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

Improve sinon integration #377

Closed
chrisbreiding opened this issue Jan 13, 2017 · 2 comments
Closed

Improve sinon integration #377

chrisbreiding opened this issue Jan 13, 2017 · 2 comments
Assignees
Labels
type: enhancement Requested enhancement of existing feature

Comments

@chrisbreiding
Copy link
Contributor

Currently, sinon.js integration is hidden behind the undocumented cy.agents() API. Deprecate/remove that API and add the following first-class methods:

  • cy.stub()
  • cy.spy()
  • cy.clock()

These methods will be automatically sandboxed and reset between tests.

@chrisbreiding chrisbreiding added the type: enhancement Requested enhancement of existing feature label Jan 13, 2017
@chrisbreiding chrisbreiding self-assigned this Jan 13, 2017
@ghengeveld
Copy link

👍

@brian-mann
Copy link
Member

Fixed in 0.18.8.

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Requested enhancement of existing feature
Projects
None yet
Development

No branches or pull requests

3 participants