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 sinon version to 4.0 #12476

Merged
merged 2 commits into from Dec 15, 2017
Merged

Update sinon version to 4.0 #12476

merged 2 commits into from Dec 15, 2017

Conversation

rsimha
Copy link
Contributor

@rsimha rsimha commented Dec 14, 2017

This PR updates the sinon library used by the AMP tests from version 2 to version 4. It also fixes the numerous invalid stub calls found in the tests.

Invalid:

sinon.stub(obj, "method", func)

Valid:

sinon.stub(obj, "method").callsFake(func)

See http://sinonjs.org/releases/v3.0.0/migrating-to-3.0/

Partial fix for #12181

@rsimha
Copy link
Contributor Author

rsimha commented Dec 15, 2017

/to @erwinmombay @choumx

@rsimha rsimha self-assigned this Dec 15, 2017
@rsimha
Copy link
Contributor Author

rsimha commented Dec 15, 2017

/to @jridgewell

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

Successfully merging this pull request may close these issues.

None yet

4 participants